From 4e26b915687acbfab5ebc260d8a7a434761721bd Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 25 Sep 2014 20:29:27 +0200 Subject: remove unnecessary casts in misc calls to SvStream.Write* left over from our conversion of the SvStream output operators to more specific methods Change-Id: Ib80032e8626f5476a89b958f590441994594f4e4 --- svtools/source/svrtf/rtfout.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svtools/source/svrtf/rtfout.cxx') diff --git a/svtools/source/svrtf/rtfout.cxx b/svtools/source/svrtf/rtfout.cxx index d95259520263..517e83142435 100644 --- a/svtools/source/svrtf/rtfout.cxx +++ b/svtools/source/svrtf/rtfout.cxx @@ -87,11 +87,11 @@ SvStream& RTFOutFuncs::Out_Char(SvStream& rStream, sal_Unicode c, case '\\': case '}': case '{': - rStream.WriteChar( '\\' ).WriteChar( (sal_Char)c ); + rStream.WriteChar( '\\' ).WriteChar( c ); break; default: if (c >= ' ' && c <= '~') - rStream.WriteChar( (sal_Char)c ); + rStream.WriteChar( c ); else { //If we can't convert to the dest encoding, or if -- cgit