diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-04 22:40:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-05 10:02:57 +0100 |
commit | 1035fbbbb1210b28d7ed84048b23ca2c18daae1f (patch) | |
tree | 02688c1c624f896f5355656f6e77ff9689adfd78 | |
parent | b75d70626a2a0eaa9b03a7f4a2c762bf7153dcf5 (diff) |
convert deprecated ConvertToUnicode to rtl::OUString
-rw-r--r-- | editeng/source/items/bulitem.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/editeng/source/items/bulitem.cxx b/editeng/source/items/bulitem.cxx index b950714436..6caea23c4e 100644 --- a/editeng/source/items/bulitem.cxx +++ b/editeng/source/items/bulitem.cxx @@ -213,7 +213,8 @@ SvxBulletItem::SvxBulletItem( SvStream& rStrm, sal_uInt16 _nWhich ) : char cTmpSymbol; rStrm >> cTmpSymbol; - cSymbol = ByteString::ConvertToUnicode( cTmpSymbol, aFont.GetCharSet() ); + //convert single byte to unicode + cSymbol = rtl::OUString(&cTmpSymbol, 1, aFont.GetCharSet()).toChar(); rStrm >> nScale; |