getFunctionSymbolByName: make fall-back locale actually work

Change-Id: I7313cca3335e1b41df2a70fe968bc1e6386a1e36
This commit is contained in:
Michael Meeks
2012-12-21 20:00:35 +01:00
committed by Eike Rathke
parent 781548472b
commit 896e326ace

View File

@@ -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;