summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-11-17 03:10:04 +0100
committerEike Rathke <erack@redhat.com>2012-11-17 03:10:10 +0100
commita92cae04ddf608948617843d8f992e9743421a7f (patch)
treef6a9f6a40b8a1c5193874623ef6f96b32440ad7e /extensions
parent4d79f55efd042cacfe252758228f8813552b4cbb (diff)
use LanguageTag
Change-Id: I1279cf9266b90a8c0936788824ca277b6dd40a6c
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/standardcontrol.cxx4
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();