Kaydet (Commit) 9b24ce6d authored tarafından Eike Rathke's avatar Eike Rathke

use LanguageTag

Change-Id: I28aff5533ec6cc31a3d6f3de3198452bd716ba62
üst 160cfb5e
...@@ -5206,7 +5206,7 @@ String SvNumberformat::ImpGetNatNumString( const SvNumberNatNum& rNum, ...@@ -5206,7 +5206,7 @@ String SvNumberformat::ImpGetNatNumString( const SvNumberNatNum& rNum,
OUString SvNumberformat::impTransliterateImpl(const OUString& rStr, OUString SvNumberformat::impTransliterateImpl(const OUString& rStr,
const SvNumberNatNum& rNum ) const 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, return GetFormatter().GetNatNum()->getNativeNumberString( rStr,
aLocale, rNum.GetNatNum() ); aLocale, rNum.GetNatNum() );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment