convert deprecated ConvertToUnicode to rtl::OUString

This commit is contained in:
Caolán McNamara
2011-08-04 22:40:26 +01:00
parent 88825599e8
commit 31e203f1fd

View File

@@ -213,7 +213,8 @@ SvxBulletItem::SvxBulletItem( SvStream& rStrm, sal_uInt16 _nWhich ) :
char cTmpSymbol; char cTmpSymbol;
rStrm >> cTmpSymbol; rStrm >> cTmpSymbol;
cSymbol = ByteString::ConvertToUnicode( cTmpSymbol, aFont.GetCharSet() ); //convert single byte to unicode
cSymbol = rtl::OUString(&cTmpSymbol, 1, aFont.GetCharSet()).toChar();
rStrm >> nScale; rStrm >> nScale;