diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-16 15:57:22 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-19 20:57:39 +0100 |
commit | 9b24ce6da284505aed2bbaf4ad2790c161fbc232 (patch) | |
tree | df04de144e628ea2a419afa5570d1daf23d1a057 /svl | |
parent | 160cfb5e5e4ab6c9e6062c74ba6ed1c610a4981a (diff) |
use LanguageTag
Change-Id: I28aff5533ec6cc31a3d6f3de3198452bd716ba62
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zformat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 52ae19c6d386..8a171eae004d 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() ); } |