summaryrefslogtreecommitdiff
path: root/i18npool/source/search
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2013-01-22 11:10:47 +0000
committerEike Rathke <erack@redhat.com>2013-03-07 21:19:17 +0100
commit531538892795bec909bb8baff6bbf9e19baf809e (patch)
treeb20123846a36b514936c15b244b984a93e5c8411 /i18npool/source/search
parentb514f0ce86e85d9be269ddf2e797befbbf3423f1 (diff)
i#121633# fix search for upper-case character classes
in ignore-case regular expressions (cherry picked from commit b7ee1803453d3a766ce3a833892e1c208aacf8ff) Change-Id: I6b0347182b977eda24a1c3c88f8d430b761e075d
Diffstat (limited to 'i18npool/source/search')
-rw-r--r--i18npool/source/search/textsearch.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx
index 65ab5e487bb4..095cf2339071 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