summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-25 06:07:13 +0200
committerNoel Grandin <noel@peralex.com>2014-09-26 15:26:19 +0200
commitbec72dd34f8aa7419c6159bdf02c5ba34a6228a8 (patch)
tree32ebd14ed7c8d0dcfeebda1040dd785183f912ef /sot
parentc476a84abd83873ff807ac5943d882b43f72c90c (diff)
remove unnecessary casts in calls to SvStream.WriteUChar
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I2ea4c7d97e745b3e6a3834f41ac7bfefa4883c7a
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stgole.cxx2
-rw-r--r--sot/source/sdstor/storinfo.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/sdstor/stgole.cxx b/sot/source/sdstor/stgole.cxx
index ebb1a04d1675..6669867defa3 100644
--- a/sot/source/sdstor/stgole.cxx
+++ b/sot/source/sdstor/stgole.cxx
@@ -153,7 +153,7 @@ bool StgCompObjStream::Store()
WriteClsId( *this, aClsId ); // Class ID
WriteInt32( (sal_Int32) (aAsciiUserName.getLength() + 1) );
WriteCharPtr( (const char *)aAsciiUserName.getStr() );
- WriteUChar( (sal_uInt8) 0 ); // string terminator
+ WriteUChar( 0 ); // string terminator
WriteClipboardFormat( *this, nCbFormat );
WriteInt32( (sal_Int32) 0 ); // terminator
Commit();
diff --git a/sot/source/sdstor/storinfo.cxx b/sot/source/sdstor/storinfo.cxx
index 2d53d3029301..74e819e8c596 100644
--- a/sot/source/sdstor/storinfo.cxx
+++ b/sot/source/sdstor/storinfo.cxx
@@ -74,7 +74,7 @@ void WriteClipboardFormat( SvStream & rStm, sal_uLong nFormat )
RTL_TEXTENCODING_ASCII_US));
rStm.WriteInt32( (sal_Int32) (aAsciiCbFmt.getLength() + 1) );
rStm.WriteCharPtr( (const char *)aAsciiCbFmt.getStr() );
- rStm.WriteUChar( (sal_uInt8) 0 );
+ rStm.WriteUChar( 0 );
}
else if( nFormat )
{