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:04:35 +0100
commitd3b7a2bfe2a95153134f340c5a13a467de95a0dd (patch)
tree2596c7c50da02a6a1f4e70474c1398cde4f8cd95
parentbe3e8eac5fd02d8951adcd423bc1fb0f9c30755f (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 7aba2a0489ba..2c54372a8b4f 100644
--- a/i18npool/source/localedata/localedata.cxx
+++ b/i18npool/source/localedata/localedata.cxx
@@ -462,7 +462,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;