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 3eadf8326550..cef285121767 100644
--- a/desktop/source/app/langselect.cxx
+++ b/desktop/source/app/langselect.cxx
@@ -79,7 +79,7 @@ void setMsLangIdFallback(OUString const & locale) {
// #i32939# setting of default document language
// See #i42730# for rules for determining source of settings
if (!locale.isEmpty()) {
- LanguageType type = LanguageTag::convertToLanguageType(locale);
+ LanguageType type = LanguageTag::convertToLanguageTypeWithFallback(locale);
switch (SvtLanguageOptions::GetScriptTypeOfLanguage(type)) {
case SCRIPTTYPE_ASIAN:
MsLangId::setConfiguredAsianFallback(type);