[Libreoffice-commits] .: sw/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Aug 10 04:21:53 PDT 2011
sw/source/filter/ww8/wrtw8num.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 18602dd206213fef58a801724afef0aa8a81b932
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Aug 10 12:21:05 2011 +0100
ByteString::ConvertFromUnicode->rtl::OUStringToOString::toChar
diff --git a/sw/source/filter/ww8/wrtw8num.cxx b/sw/source/filter/ww8/wrtw8num.cxx
index c284d7a..5be0369 100644
--- a/sw/source/filter/ww8/wrtw8num.cxx
+++ b/sw/source/filter/ww8/wrtw8num.cxx
@@ -672,7 +672,7 @@ void WW8Export::BuildAnlvBulletBase(WW8_ANLV& rAnlv, sal_uInt8*& rpCh,
*rpCh = static_cast< sal_uInt8 >(cChar - 0xF000);
}
else
- *rpCh = ByteString::ConvertFromUnicode(cChar, eChrSet);
+ *rpCh = rtl::OUStringToOString(rtl::OUString(cChar), eChrSet).toChar();
}
rpCh++;
rCharLen--;
More information about the Libreoffice-commits
mailing list