diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-21 09:18:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-21 09:18:15 +0100 |
commit | 10b8a729031f9d940344532622a2ccfdbde67fac (patch) | |
tree | 878b7c3d50dadda25dd03e52c089ccbc1755d77c /svtools/source | |
parent | Fix ooo::vba::parseKeyEvent (diff) | |
download | core-10b8a729031f9d940344532622a2ccfdbde67fac.tar.gz core-10b8a729031f9d940344532622a2ccfdbde67fac.zip |
New loplugin:unicodetochar
Change-Id: I279fe1dec196b6e1e551b4f6aba77f24e3f76ab7
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/svrtf/rtfout.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/svrtf/rtfout.cxx b/svtools/source/svrtf/rtfout.cxx index 605fad7252ce..edaab84b5c04 100644 --- a/svtools/source/svrtf/rtfout.cxx +++ b/svtools/source/svrtf/rtfout.cxx @@ -120,11 +120,11 @@ SvStream& Out_Char(SvStream& rStream, sal_Unicode c, case '\\': case '}': case '{': - rStream.WriteChar( '\\' ).WriteChar( c ); + rStream.WriteChar( '\\' ).WriteChar( char(c) ); break; default: if (c >= ' ' && c <= '~') - rStream.WriteChar( c ); + rStream.WriteChar( char(c) ); else { //If we can't convert to the dest encoding, or if |