diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-17 03:10:04 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-17 03:10:10 +0100 |
commit | a92cae04ddf608948617843d8f992e9743421a7f (patch) | |
tree | f6a9f6a40b8a1c5193874623ef6f96b32440ad7e /extensions | |
parent | 4d79f55efd042cacfe252758228f8813552b4cbb (diff) |
use LanguageTag
Change-Id: I1279cf9266b90a8c0936788824ca277b6dd40a6c
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/standardcontrol.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx index 29271297174e..8d57aebd4253 100644 --- a/extensions/source/propctrlr/standardcontrol.cxx +++ b/extensions/source/propctrlr/standardcontrol.cxx @@ -41,7 +41,7 @@ #include <svtools/colorcfg.hxx> #include <unotools/syslocale.hxx> #include <unotools/datetime.hxx> -#include <i18npool/mslangid.hxx> +#include <i18npool/languagetag.hxx> #include <vcl/button.hxx> #include <vcl/svapp.hxx> //================================================================== @@ -262,7 +262,7 @@ namespace pcr // determine a default format Locale aSysLocale = SvtSysLocale().GetLocaleData().getLocale(); - LanguageType eSysLanguage = MsLangId::convertLocaleToLanguage( aSysLocale ); + LanguageType eSysLanguage = LanguageTag( aSysLocale ).getLanguageType( false); getTypedControlWindow()->SetFormatter( getTypedControlWindow()->StandardFormatter() ); SvNumberFormatter* pFormatter = getTypedControlWindow()->GetFormatter(); |