summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
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 )
{