[Libreoffice-commits] .: svl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Nov 19 11:57:59 PST 2012
svl/source/numbers/zformat.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9b24ce6da284505aed2bbaf4ad2790c161fbc232
Author: Eike Rathke <erack at redhat.com>
Date: Fri Nov 16 15:57:22 2012 +0100
use LanguageTag
Change-Id: I28aff5533ec6cc31a3d6f3de3198452bd716ba62
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx
index 52ae19c..8a171ea 100644
--- a/svl/source/numbers/zformat.cxx
+++ b/svl/source/numbers/zformat.cxx
@@ -5206,7 +5206,7 @@ String SvNumberformat::ImpGetNatNumString( const SvNumberNatNum& rNum,
OUString SvNumberformat::impTransliterateImpl(const OUString& rStr,
const SvNumberNatNum& rNum ) const
{
- com::sun::star::lang::Locale aLocale( MsLangId::convertLanguageToLocale( rNum.GetLang() ) );
+ com::sun::star::lang::Locale aLocale( LanguageTag( rNum.GetLang() ).getLocale() );
return GetFormatter().GetNatNum()->getNativeNumberString( rStr,
aLocale, rNum.GetNatNum() );
}
More information about the Libreoffice-commits
mailing list