[Libreoffice-commits] .: unotools/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Dec 17 12:19:31 PST 2012


 unotools/source/misc/fontcvt.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 439d600138515d10b40a00653f8ac51e5ccfc1e5
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Mon Dec 17 20:19:47 2012 +0000

    32bit compile fix for OString::valueOf usage.

diff --git a/unotools/source/misc/fontcvt.cxx b/unotools/source/misc/fontcvt.cxx
index 3d5d30d..96212c0 100644
--- a/unotools/source/misc/fontcvt.cxx
+++ b/unotools/source/misc/fontcvt.cxx
@@ -1285,8 +1285,8 @@ sal_Unicode ConvertChar::RecodeChar( sal_Unicode cChar ) const
                 {
                     cRetVal = 0xE12C;
                     SAL_WARN( "unotools", "Forcing a bullet substition from 0x" <<
-                        OString::valueOf(cChar, 16) << " to 0x" <<
-                        OString::valueOf(cRetVal, 16));
+                        OString::valueOf((sal_Int32)cChar, 16) << " to 0x" <<
+                        OString::valueOf((sal_Int32)cRetVal, 16));
                 }
             }
         }


More information about the Libreoffice-commits mailing list