summaryrefslogtreecommitdiff
path: root/svl/source/config/languageoptions.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/config/languageoptions.cxx')
-rw-r--r--svl/source/config/languageoptions.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/config/languageoptions.cxx b/svl/source/config/languageoptions.cxx
index a095ac5b731e..687c99a81d3a 100644
--- a/svl/source/config/languageoptions.cxx
+++ b/svl/source/config/languageoptions.cxx
@@ -204,7 +204,7 @@ LanguageType SvtSystemLanguageOptions::GetWin16SystemLanguage() const
{
if( m_sWin16SystemLocale.isEmpty() )
return LANGUAGE_NONE;
- return LanguageTag( m_sWin16SystemLocale ).getLanguageType();
+ return LanguageTag::convertToLanguageType( m_sWin16SystemLocale );
}
bool SvtSystemLanguageOptions::isKeyboardLayoutTypeInstalled(sal_Int16 scriptType) const