From 130c44b09ee23454d30e9c15f00c9e300808600c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 4 Aug 2011 09:27:22 +0100 Subject: replace ByteString::ConvertToUnicode --- sw/source/ui/config/uinums.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sw/source/ui') diff --git a/sw/source/ui/config/uinums.cxx b/sw/source/ui/config/uinums.cxx index 665ed2c168cf..8d85cf96def0 100644 --- a/sw/source/ui/config/uinums.cxx +++ b/sw/source/ui/config/uinums.cxx @@ -403,8 +403,10 @@ SwNumRulesWithName::_SwNumFmtGlobal::_SwNumFmtGlobal( SvStream& rStream, nCharSet = RTL_TEXTENCODING_SYMBOL; if( VERSION_53A > nVersion ) - aFmt.SetBulletChar( ByteString::ConvertToUnicode( - sal_Char(aFmt.GetBulletChar()), nCharSet )); + { + sal_Char cEncoded(aFmt.GetBulletChar()); + aFmt.SetBulletChar(rtl::OUString(&cEncoded, 1, nCharSet).toChar()); + } } if( VERSION_30B != nVersion ) -- cgit