From 10b8a729031f9d940344532622a2ccfdbde67fac Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 21 Mar 2017 09:18:15 +0100 Subject: New loplugin:unicodetochar Change-Id: I279fe1dec196b6e1e551b4f6aba77f24e3f76ab7 --- svtools/source/svrtf/rtfout.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools') 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 -- cgit