You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2013/01/22 13:10:48 UTC

svn commit: r1436862 - /openoffice/trunk/main/i18npool/source/search/textsearch.cxx

Author: hdu
Date: Tue Jan 22 12:10:47 2013
New Revision: 1436862

URL: http://svn.apache.org/viewvc?rev=1436862&view=rev
Log:
#i121633# fix search for upper-case character classes in ignore-case regular expressions

Modified:
    openoffice/trunk/main/i18npool/source/search/textsearch.cxx

Modified: openoffice/trunk/main/i18npool/source/search/textsearch.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/i18npool/source/search/textsearch.cxx?rev=1436862&r1=1436861&r2=1436862&view=diff
==============================================================================
--- openoffice/trunk/main/i18npool/source/search/textsearch.cxx (original)
+++ openoffice/trunk/main/i18npool/source/search/textsearch.cxx Tue Jan 22 12:10:47 2013
@@ -64,7 +64,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