Kaydet (Commit) eb2180ca authored tarafından Tor Lillqvist's avatar Tor Lillqvist

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
üst af6d8539
...@@ -223,7 +223,7 @@ TransliterationImpl::loadModuleNew( const Sequence < TransliterationModulesNew > ...@@ -223,7 +223,7 @@ TransliterationImpl::loadModuleNew( const Sequence < TransliterationModulesNew >
if (mask == 0) if (mask == 0)
mask = TMlist[i].tm && (TMlist[i].tm&TransliterationModules_IGNORE_MASK) ? mask = TMlist[i].tm && (TMlist[i].tm&TransliterationModules_IGNORE_MASK) ?
TransliterationModules_IGNORE_MASK : TransliterationModules_NON_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) (TMlist[i].tm&TransliterationModules_IGNORE_MASK) == 0)
throw ERROR; // could not mess up ignore trans. with non_ignore trans. throw ERROR; // could not mess up ignore trans. with non_ignore trans.
if (loadModuleByName(OUString::createFromAscii(TMlist[j].implName), bodyCascade[numCascade], rLocale)) if (loadModuleByName(OUString::createFromAscii(TMlist[j].implName), bodyCascade[numCascade], rLocale))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment