From d3b7a2bfe2a95153134f340c5a13a467de95a0dd Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Fri, 21 Dec 2012 20:00:35 +0100 Subject: getFunctionSymbolByName: make fall-back locale actually work Change-Id: I7313cca3335e1b41df2a70fe968bc1e6386a1e36 (cherry picked from commit 896e326ace53bedf9b17fa624d260032b91bcfd1) Signed-off-by: Eike Rathke --- i18npool/source/localedata/localedata.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3