diff options
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 |