diff options
Diffstat (limited to 'i18npool/source')
-rw-r--r-- | i18npool/source/search/textsearch.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx index 2bb947f9ec73..9c3bf63eeb64 100644 --- a/i18npool/source/search/textsearch.cxx +++ b/i18npool/source/search/textsearch.cxx @@ -130,6 +130,9 @@ void TextSearch::setOptions2( const SearchOptions2& rOptions ) maWildcardReversePattern.clear(); maWildcardReversePattern2.clear(); TransliterationFlags transliterateFlags = static_cast<TransliterationFlags>(aSrchPara.transliterateFlags); + if (aSrchPara.AlgorithmType2 == SearchAlgorithms2::REGEXP) + // RESrchPrepare will consider SearchAlgorithms2::REGEXP in aSrchPara.transliterateFlags + transliterateFlags &= ~TransliterationFlags::IGNORE_CASE; // Create Transliteration class if( isSimpleTrans( transliterateFlags) ) |