[Libreoffice-commits] core.git: i18npool/source
Tor Lillqvist
tml at iki.fi
Wed Aug 21 06:39:03 PDT 2013
i18npool/source/transliteration/transliterationImpl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit eb2180caa164a1447ef8df157407d7d21b7d5fff
Author: Tor Lillqvist <tml at iki.fi>
Date: Wed Aug 21 16:34:44 2013 +0300
WaE: comparison of integers of different signs
'sal_Int32' (aka 'int') and 'com::sun::star::i18n::TransliterationModules'
(which apparently then is unsigned, thanks to the
TransliterationModules_IGNORE_MASK = 4294967040).
Change-Id: I28aeb136d5a9889d6e95a080a77dfd0118c33285
diff --git a/i18npool/source/transliteration/transliterationImpl.cxx b/i18npool/source/transliteration/transliterationImpl.cxx
index fddb41c..6713dd8 100644
--- a/i18npool/source/transliteration/transliterationImpl.cxx
+++ b/i18npool/source/transliteration/transliterationImpl.cxx
@@ -223,7 +223,7 @@ TransliterationImpl::loadModuleNew( const Sequence < TransliterationModulesNew >
if (mask == 0)
mask = TMlist[i].tm && (TMlist[i].tm&TransliterationModules_IGNORE_MASK) ?
TransliterationModules_IGNORE_MASK : TransliterationModules_NON_IGNORE_MASK;
- else if (mask == TransliterationModules_IGNORE_MASK &&
+ else if (mask == (sal_Int32) TransliterationModules_IGNORE_MASK &&
(TMlist[i].tm&TransliterationModules_IGNORE_MASK) == 0)
throw ERROR; // could not mess up ignore trans. with non_ignore trans.
if (loadModuleByName(OUString::createFromAscii(TMlist[j].implName), bodyCascade[numCascade], rLocale))
More information about the Libreoffice-commits
mailing list