summaryrefslogtreecommitdiff
path: root/i18npool
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:03:44 +0100
commit896e326ace53bedf9b17fa624d260032b91bcfd1 (patch)
tree93791daa560d6e774cbbab7a1acbf519f0a9886b /i18npool
parent781548472b9ac4609ecfff5918444564cbb75500 (diff)
getFunctionSymbolByName: make fall-back locale actually work
Change-Id: I7313cca3335e1b41df2a70fe968bc1e6386a1e36
Diffstat (limited to 'i18npool')
-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;