summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgole.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/sdstor/stgole.cxx')
-rw-r--r--sot/source/sdstor/stgole.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sot/source/sdstor/stgole.cxx b/sot/source/sdstor/stgole.cxx
index 254cfe51277e..f52dff841cd8 100644
--- a/sot/source/sdstor/stgole.cxx
+++ b/sot/source/sdstor/stgole.cxx
@@ -146,14 +146,14 @@ bool StgCompObjStream::Store()
return false;
Seek( 0L );
OString aAsciiUserName(OUStringToOString(aUserName, RTL_TEXTENCODING_MS_1252));
- WriteInt16( 1 ); // Version?
- WriteInt16( -2 ); // 0xFFFE = Byte Order Indicator
+ WriteInt16( 1 ); // Version?
+ WriteInt16( -2 ); // 0xFFFE = Byte Order Indicator
WriteInt32( 0x0A03 ); // Windows 3.10
WriteInt32( -1L );
WriteClsId( *this, aClsId ); // Class ID
- WriteInt32( (aAsciiUserName.getLength() + 1) );
+ WriteInt32( aAsciiUserName.getLength() + 1 );
WriteCharPtr( (const char *)aAsciiUserName.getStr() );
- WriteUChar( 0 ); // string terminator
+ WriteUChar( 0 ); // string terminator
WriteClipboardFormat( *this, nCbFormat );
WriteInt32( 0 ); // terminator
Commit();