[Libreoffice-commits] core.git: i18npool/source
Herbert Dürr
hdu at apache.org
Thu Mar 7 12:19:53 PST 2013
i18npool/source/search/textsearch.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 531538892795bec909bb8baff6bbf9e19baf809e
Author: Herbert Dürr <hdu at apache.org>
Date: Tue Jan 22 11:10:47 2013 +0000
i#121633# fix search for upper-case character classes
in ignore-case regular expressions
(cherry picked from commit b7ee1803453d3a766ce3a833892e1c208aacf8ff)
Change-Id: I6b0347182b977eda24a1c3c88f8d430b761e075d
diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx
index 65ab5e4..095cf23 100644
--- a/i18npool/source/search/textsearch.cxx
+++ b/i18npool/source/search/textsearch.cxx
@@ -60,7 +60,7 @@ static sal_Int32 COMPLEX_TRANS_MASK_TMP =
TransliterationModules_ignoreKiKuFollowedBySa_ja_JP |
TransliterationModules_ignoreProlongedSoundMark_ja_JP;
static const sal_Int32 COMPLEX_TRANS_MASK = COMPLEX_TRANS_MASK_TMP | TransliterationModules_IGNORE_KANA | TransliterationModules_FULLWIDTH_HALFWIDTH;
-static const sal_Int32 SIMPLE_TRANS_MASK = ~COMPLEX_TRANS_MASK;
+static const sal_Int32 SIMPLE_TRANS_MASK = ~(COMPLEX_TRANS_MASK | TransliterationModules_IGNORE_CASE | TransliterationModules_UPPERCASE_LOWERCASE | TransliterationModules_LOWERCASE_UPPERCASE);
// Above 2 transliteration is simple but need to take effect in
// complex transliteration
More information about the Libreoffice-commits
mailing list