From cfe0862cc669893e4b1229183e9aa64776e464d3 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Tue, 3 Sep 2013 19:28:36 +0200 Subject: was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback() Change-Id: Idfbf8bf9007268fb8a5c636be0454ae2704c3ddd --- desktop/source/app/langselect.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop/source/app/langselect.cxx') 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); -- cgit