summaryrefslogtreecommitdiff
path: root/desktop/source/app/langselect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/app/langselect.cxx')
-rw-r--r--desktop/source/app/langselect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/langselect.cxx b/desktop/source/app/langselect.cxx
index d89174e36ae5..d701ee4c4c26 100644
--- a/desktop/source/app/langselect.cxx
+++ b/desktop/source/app/langselect.cxx
@@ -241,7 +241,7 @@ void LanguageSelection::setDefaultLanguage(const OUString& sLocale)
// See #i42730# for rules for determining source of settings
// determine script type of locale
- LanguageType nLang = LanguageTag(sLocale).getLanguageType();
+ LanguageType nLang = LanguageTag::convertToLanguageType(sLocale);
sal_uInt16 nScriptType = SvtLanguageOptions::GetScriptTypeOfLanguage(nLang);
switch (nScriptType)