summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-09-03 19:48:44 +0200
committerEike Rathke <erack@redhat.com>2013-09-03 20:35:42 +0200
commit3945267d677fc311205ac23ed0aa1ba2eef21097 (patch)
tree93f2b170f86125b24129eed6e14b4aaef6898e1c /framework
parentwas convertIsoStringToLanguage(), use convertToLocaleWithFallback() (diff)
downloadcore-3945267d677fc311205ac23ed0aa1ba2eef21097.tar.gz
core-3945267d677fc311205ac23ed0aa1ba2eef21097.zip
was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()
Change-Id: Ic08b09824cffdc9b633ba13ec3050cc109f671cd
Diffstat (limited to 'framework')
-rw-r--r--framework/source/services/substitutepathvars.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index f3950e1b6a43..b9b390c75792 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -1161,7 +1161,7 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
// Detect the language type of the current office
aPreDefPathVariables.m_eLanguageType = LANGUAGE_ENGLISH_US;
OUString aLocaleStr( utl::ConfigManager::getLocale() );
- aPreDefPathVariables.m_eLanguageType = LanguageTag::convertToLanguageType( aLocaleStr );
+ aPreDefPathVariables.m_eLanguageType = LanguageTag::convertToLanguageTypeWithFallback( aLocaleStr );
// We used to have an else branch here with a LOG_ERROR, but that
// always fired in some unit tests when this code was built with
// debug=t, so it seems fairly pointless, especially as