diff options
Diffstat (limited to 'sot/source/sdstor/storinfo.cxx')
-rw-r--r-- | sot/source/sdstor/storinfo.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/storinfo.cxx b/sot/source/sdstor/storinfo.cxx index c4c21145f815..adbcba212828 100644 --- a/sot/source/sdstor/storinfo.cxx +++ b/sot/source/sdstor/storinfo.cxx @@ -80,7 +80,7 @@ void WriteClipboardFormat( SvStream & rStm, SotClipboardFormatId nFormat ) OString aAsciiCbFmt(OUStringToOString(aCbFmt, RTL_TEXTENCODING_ASCII_US)); rStm.WriteInt32( aAsciiCbFmt.getLength() + 1 ); - rStm.WriteCharPtr( aAsciiCbFmt.getStr() ); + rStm.WriteOString( aAsciiCbFmt ); rStm.WriteUChar( 0 ); } else if( nFormat != SotClipboardFormatId::NONE ) |