svl/source/numbers/zformat.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 9b24ce6da284505aed2bbaf4ad2790c161fbc232 Author: Eike Rathke <[email protected]> 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() ); } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
