diff options
author | Noel Grandin <noel@peralex.com> | 2014-09-25 20:29:27 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-09-26 15:27:18 +0200 |
commit | 4e26b915687acbfab5ebc260d8a7a434761721bd (patch) | |
tree | edb43f77f729e08529c8860d3641f5743009334d /svtools | |
parent | 5cefde06ea9f4347b5d2747e0d2825c3c710aa83 (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')
-rw-r--r-- | svtools/source/misc/imap.cxx | 2 | ||||
-rw-r--r-- | svtools/source/svrtf/rtfout.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/misc/imap.cxx b/svtools/source/misc/imap.cxx index f804c7faf413..05fbeafb28f4 100644 --- a/svtools/source/misc/imap.cxx +++ b/svtools/source/misc/imap.cxx @@ -82,7 +82,7 @@ void IMapObject::Write( SvStream& rOStm, const OUString& rBaseURL ) const rOStm.WriteUInt16( GetType() ); rOStm.WriteUInt16( GetVersion() ); - rOStm.WriteUInt16( (sal_uInt16) eEncoding ); + rOStm.WriteUInt16( eEncoding ); const OString aRelURL = OUStringToOString( URIHelper::simpleNormalizedMakeRelative(rBaseURL, aURL), eEncoding); 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 |