summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-09-05 15:54:14 +0200
committerEike Rathke <erack@redhat.com>2013-09-05 16:51:28 +0200
commite13fd395939ff037a38172a87366a84293df7e30 (patch)
treefe13b157c41b7e4bf14c83bfd84a644951f83984 /i18npool
parentc2b18aa7743ffb0b3e229deafb2740322d7560b3 (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 'i18npool')
-rw-r--r--i18npool/source/localedata/localedata.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index 2d92c5febe24..3eb1f86be4b4 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -1649,8 +1649,7 @@ OUString LocaleDataImpl::getFirstLocaleServiceName( const com::sun::star::lang::
::std::vector< OUString > aVec;
if (rLocale.Language == I18NLANGTAG_QLT)
{
- aVec = LanguageTag( rLocale).getFallbackStrings();
- aVec.erase( aVec.begin());
+ aVec = LanguageTag( rLocale).getFallbackStrings( false);
for (::std::vector< OUString >::iterator it(aVec.begin()); it != aVec.end(); ++it)
{
*it = (*it).replace( cHyphen, cUnder);