diff options
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/i18n/textsearch.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/i18n/textsearch.cxx b/unotools/source/i18n/textsearch.cxx index fa520d0d3a3e..6cab875f268c 100644 --- a/unotools/source/i18n/textsearch.cxx +++ b/unotools/source/i18n/textsearch.cxx @@ -201,10 +201,10 @@ void TextSearch::Init( const SearchParam & rParam, { case SearchParam::SRCH_WILDCARD: aSOpt.AlgorithmType2 = SearchAlgorithms2::WILDCARD; + aSOpt.algorithmType = SearchAlgorithms_MAKE_FIXED_SIZE; // no old enum for that aSOpt.WildcardEscapeCharacter = rParam.GetWildEscChar(); if (rParam.IsWildMatchSel()) aSOpt.searchFlag |= SearchFlags::WILD_MATCH_SELECTION; - aSOpt.algorithmType = static_cast<SearchAlgorithms>(-1); // no old enum for that break; case SearchParam::SRCH_REGEXP: |