[Libreoffice-commits] .: Branch 'libreoffice-4-0' - unotools/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Dec 17 15:05:45 PST 2012


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

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

    32bit compile fix for OString::valueOf usage.
    
    Signed-off-by: Luboš Luňák <l.lunak at suse.cz>

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