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.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgole.cxx b/sot/source/sdstor/stgole.cxx
index 87a42b92f61b..f91da70ba66e 100644
--- a/sot/source/sdstor/stgole.cxx
+++ b/sot/source/sdstor/stgole.cxx
@@ -148,7 +148,7 @@ bool StgCompObjStream::Store()
WriteInt32( -1 );
WriteClsId( *this, m_aClsId ); // Class ID
WriteInt32( aAsciiUserName.getLength() + 1 );
- WriteCharPtr( aAsciiUserName.getStr() );
+ WriteOString( aAsciiUserName );
WriteUChar( 0 ); // string terminator
WriteClipboardFormat( *this, m_nCbFormat );
WriteInt32( 0 ); // terminator