summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/gallery2/galini.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/gallery2/galini.cxx b/svx/source/gallery2/galini.cxx
index dce5ce397012..815653982dd1 100644
--- a/svx/source/gallery2/galini.cxx
+++ b/svx/source/gallery2/galini.cxx
@@ -31,7 +31,7 @@ OUString GalleryThemeEntry::ReadStrFromIni(const OUString &aKeyName )
const LanguageTag &rLangTag = Application::GetSettings().GetUILanguageTag();
- ::std::vector< OUString > aFallbacks = rLangTag.getFallbackStrings();
+ ::std::vector< OUString > aFallbacks = rLangTag.getFallbackStrings( true);
OUString aResult;
sal_Int32 nRank = 42;
@@ -71,6 +71,7 @@ OUString GalleryThemeEntry::ReadStrFromIni(const OUString &aKeyName )
// grisly language matching, is this not available somewhere else?
if( aKey == aKeyName )
{
+ /* FIXME-BCP47: what is this supposed to do? */
n = 0;
OUString aLang = aLocale.replace('_','-');
for( std::vector< OUString >::const_iterator i = aFallbacks.begin();