diff options
author | Eike Rathke <erack@redhat.com> | 2012-11-21 18:34:53 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2012-11-21 18:35:53 +0100 |
commit | b8a467b70756b83c8aeb77f385ea1e368350d370 (patch) | |
tree | eb0c2a0f560899b634ef8598f9022f4af24f1427 /linguistic | |
parent | be677b568690415ff90e7937d7269d3b41b39c16 (diff) |
obtain LanguageTag from SvtSysLocale
Change-Id: Iaee25f1d92349704eaae45e6582d31dfa718ddcb
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/misc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx index 02c5ef885b9d..53afb419e952 100644 --- a/linguistic/source/misc.cxx +++ b/linguistic/source/misc.cxx @@ -77,7 +77,7 @@ osl::Mutex & GetLinguMutex() LocaleDataWrapper & GetLocaleDataWrapper( sal_Int16 nLang ) { static LocaleDataWrapper aLclDtaWrp( - CreateLocale( SvtSysLocale().GetUILanguage() ) ); + CreateLocale( SvtSysLocale().GetLanguageTag().getLanguageType() ) ); const Locale &rLcl = aLclDtaWrp.getLoadedLocale(); Locale aLcl( CreateLocale( nLang ) ); |