[Libreoffice-commits] core.git: lotuswordpro/source

Stephan Bergmann sbergman at redhat.com
Tue Nov 17 01:40:26 PST 2015


 lotuswordpro/source/filter/lwpsilverbullet.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 414f14ffb61a3d3a22604a96239486fa4942ea73
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Nov 17 10:40:00 2015 +0100

    Don't assume sal_Unicode is unsigned short
    
    Change-Id: Ia31a6817aa39da1edf76443fd7621375ea9dc191

diff --git a/lotuswordpro/source/filter/lwpsilverbullet.cxx b/lotuswordpro/source/filter/lwpsilverbullet.cxx
index 94c4a15..cb0a532 100644
--- a/lotuswordpro/source/filter/lwpsilverbullet.cxx
+++ b/lotuswordpro/source/filter/lwpsilverbullet.cxx
@@ -278,7 +278,7 @@ OUString LwpSilverBullet::GetNumCharByStyleID(LwpFribParaNumber* pParaNumber)
         strNumChar = "i";
         break;
     case NUMCHAR_other:
-        strNumChar = OUString(pParaNumber->GetNumberChar());
+        strNumChar = OUString(sal_Unicode(pParaNumber->GetNumberChar()));
         break;
     case NUMCHAR_Chinese1:
         {


More information about the Libreoffice-commits mailing list