[Libreoffice-commits] .: svl/source

David Tardon dtardon at kemper.freedesktop.org
Tue Jul 3 23:00:49 PDT 2012


 svl/source/numbers/zforlist.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e8bc25ab32b4b562ec4aa0ef648c08d7ee706f6a
Author: David Tardon <dtardon at redhat.com>
Date:   Wed Jul 4 07:59:58 2012 +0200

    explicitly convert to int to help the compiler select overloaded func
    
    Change-Id: I8462319d0c5ccea0bc4d5327c94660e2e683e268

diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index 368a022..252ff7b 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -1954,7 +1954,7 @@ sal_Int32 SvNumberFormatter::ImpGetFormatCodeIndex(
                 || nTabOff == NF_CURRENCY_1000DEC2_CCC))
     {   // currency entries with decimals might not exist, e.g. Italian Lira
         rtl::OUString aMsg( "SvNumberFormatter::ImpGetFormatCodeIndex: not found: " );
-        aMsg += rtl::OUString::valueOf( nTabOff );
+        aMsg += rtl::OUString::valueOf( sal_Int32( nTabOff ) );
         LocaleDataWrapper::outputCheckMessage( xLocaleData->appendLocaleInfo(aMsg));
     }
     if ( nLen )


More information about the Libreoffice-commits mailing list