diff options
author | Eike Rathke <erack@redhat.com> | 2013-09-05 15:54:14 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-09-05 16:51:28 +0200 |
commit | e13fd395939ff037a38172a87366a84293df7e30 (patch) | |
tree | fe13b157c41b7e4bf14c83bfd84a644951f83984 /svx | |
parent | c2b18aa7743ffb0b3e229deafb2740322d7560b3 (diff) |
getFallbackStrings() with bIncludeFullBcp47 parameter
so the various places that check the full tag first do not have to get
it just to delete it again.
Change-Id: Ib4e3cf1b16988464db875f1b6ac5cf4a0ab60fe5
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/gallery2/galini.cxx | 3 |
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(); |