summaryrefslogtreecommitdiffstats
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-04 22:40:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-05 10:02:57 +0100
commit31e203f1fd9a32c70c37a73f13963992e1cc17ef (patch)
tree5d9c49a38e98371e4485f035c70d2751398b0e0c /editeng
parentreflect gmake flavor (diff)
downloadcore-31e203f1fd9a32c70c37a73f13963992e1cc17ef.tar.gz
core-31e203f1fd9a32c70c37a73f13963992e1cc17ef.zip
convert deprecated ConvertToUnicode to rtl::OUString
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/bulitem.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/editeng/source/items/bulitem.cxx b/editeng/source/items/bulitem.cxx
index abfc77c2792d..727ca3ddcecc 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;