summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-08-21 16:34:44 +0300
committerTor Lillqvist <tml@iki.fi>2013-08-21 16:34:44 +0300
commiteb2180caa164a1447ef8df157407d7d21b7d5fff (patch)
tree45020077ba3e03e76a67df69dcc5f52e2f48e701 /i18npool
parentaf6d853908678a20d7f39123a68d5c886af41024 (diff)
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
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/transliteration/transliterationImpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/transliteration/transliterationImpl.cxx b/i18npool/source/transliteration/transliterationImpl.cxx
index fddb41c7b905..6713dd802966 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))