[Libreoffice-commits] .: i18npool/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Dec 21 11:04:05 PST 2012


 i18npool/source/localedata/localedata.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 896e326ace53bedf9b17fa624d260032b91bcfd1
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Fri Dec 21 20:00:35 2012 +0100

    getFunctionSymbolByName: make fall-back locale actually work
    
    Change-Id: I7313cca3335e1b41df2a70fe968bc1e6386a1e36

diff --git a/i18npool/source/localedata/localedata.cxx b/i18npool/source/localedata/localedata.cxx
index 7aba2a0..2c54372 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;


More information about the Libreoffice-commits mailing list