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 d3a84809f423..b0be41e9a295 100644 --- a/sot/source/sdstor/storinfo.cxx +++ b/sot/source/sdstor/storinfo.cxx @@ -47,7 +47,7 @@ sal_uLong ReadClipboardFormat( SvStream & rStm ) sal_Char * p = new sal_Char[ nLen ]; if( rStm.Read( p, nLen ) == (sal_uLong) nLen ) { - nFormat = SotExchange::RegisterFormatName( String::CreateFromAscii( p, short(nLen-1) ) ); + nFormat = SotExchange::RegisterFormatName(rtl::OUString(p, nLen-1, RTL_TEXTENCODING_ASCII_US)); } else rStm.SetError( SVSTREAM_GENERALERROR ); |