summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2012-12-21 20:00:35 +0100
committerEike Rathke <erack@redhat.com>2012-12-21 20:06:17 +0100
commite4fc7017ec672be095f1bc98c4f957de3c8ddae1 (patch)
tree67a5350be034566be565766b14b391cf2e58cdae
parentee8f3d557b7ccb88cadd55fe91464a005b321362 (diff)
getFunctionSymbolByName: make fall-back locale actually work
Change-Id: I7313cca3335e1b41df2a70fe968bc1e6386a1e36 (cherry picked from commit 896e326ace53bedf9b17fa624d260032b91bcfd1) Signed-off-by: Eike Rathke <erack@redhat.com>
-rw-r--r--i18npool/source/localedata/localedata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index decd33fd4576..af749910d157 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -447,7 +447,7 @@ oslGenericFunction SAL_CALL lcl_LookupTableHelper::getFunctionSymbolByName(
for ( sal_Int16 i = 0; i < nbOfLocales; i++)
{
if (localeName.equalsAscii(aLibTable[i].pLocale) ||
- (bFallback && localeName == aFallback))
+ (bFallback && aFallback.equalsAscii(aLibTable[i].pLocale)))
{
#ifndef DISABLE_DYNLOADING
LocaleDataLookupTableItem* pCurrent = 0;