summaryrefslogtreecommitdiff
path: root/svtools/source/svrtf/rtfout.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-25 20:29:27 +0200
committerNoel Grandin <noel@peralex.com>2014-09-26 15:27:18 +0200
commit4e26b915687acbfab5ebc260d8a7a434761721bd (patch)
treeedb43f77f729e08529c8860d3641f5743009334d /svtools/source/svrtf/rtfout.cxx
parent5cefde06ea9f4347b5d2747e0d2825c3c710aa83 (diff)
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
Diffstat (limited to 'svtools/source/svrtf/rtfout.cxx')
-rw-r--r--svtools/source/svrtf/rtfout.cxx4
1 files changed, 2 insertions, 2 deletions
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