diff options
author | Eike Rathke <erack@redhat.com> | 2013-09-03 19:48:44 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-09-03 20:35:42 +0200 |
commit | 3945267d677fc311205ac23ed0aa1ba2eef21097 (patch) | |
tree | 93f2b170f86125b24129eed6e14b4aaef6898e1c /framework/source | |
parent | a67763c10c432fdd075e052cbd90e2750932fb90 (diff) |
was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()
Change-Id: Ic08b09824cffdc9b633ba13ec3050cc109f671cd
Diffstat (limited to 'framework/source')
-rw-r--r-- | framework/source/services/substitutepathvars.cxx | 2 |
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 |