From 1035fbbbb1210b28d7ed84048b23ca2c18daae1f Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 4 Aug 2011 22:40:26 +0100 Subject: convert deprecated ConvertToUnicode to rtl::OUString --- editeng/source/items/bulitem.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3