summaryrefslogtreecommitdiff
path: root/svl/source/config
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-11-16 15:57:22 +0100
committerEike Rathke <erack@redhat.com>2012-11-16 17:20:21 +0100
commit59d33fcc19ec380f9af6e7c24a5e22e8e50428cc (patch)
treee572b84aaad51083ec2dd5cd4dba4422c0aa7bad /svl/source/config
parente055182f274228c368503195745096c020c58ee2 (diff)
use LanguageTag
Change-Id: I28aff5533ec6cc31a3d6f3de3198452bd716ba62
Diffstat (limited to 'svl/source/config')
-rw-r--r--svl/source/config/languageoptions.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svl/source/config/languageoptions.cxx b/svl/source/config/languageoptions.cxx
index 5f7678a5c7d0..c73318c91658 100644
--- a/svl/source/config/languageoptions.cxx
+++ b/svl/source/config/languageoptions.cxx
@@ -22,6 +22,7 @@
#include <svl/cjkoptions.hxx>
#include <svl/ctloptions.hxx>
#include <i18npool/mslangid.hxx>
+#include <i18npool/languagetag.hxx>
#include <osl/mutex.hxx>
#include <rtl/instance.hxx>
#include <com/sun/star/i18n/ScriptType.hpp>
@@ -200,7 +201,7 @@ LanguageType SvtSystemLanguageOptions::GetWin16SystemLanguage()
{
if( m_sWin16SystemLocale.isEmpty() )
return LANGUAGE_NONE;
- return MsLangId::convertIsoStringToLanguage( m_sWin16SystemLocale );
+ return LanguageTag( m_sWin16SystemLocale ).getLanguageType();
}