diff options
Diffstat (limited to 'sc/source/core/tool/queryentry.cxx')
-rw-r--r-- | sc/source/core/tool/queryentry.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/queryentry.cxx b/sc/source/core/tool/queryentry.cxx index 1a5c47145dcf..17529c52a4b8 100644 --- a/sc/source/core/tool/queryentry.cxx +++ b/sc/source/core/tool/queryentry.cxx @@ -164,13 +164,13 @@ bool ScQueryEntry::operator==( const ScQueryEntry& r ) const // do not compare pSearchParam and pSearchText! } -utl::TextSearch* ScQueryEntry::GetSearchTextPtr( bool bCaseSens ) const +utl::TextSearch* ScQueryEntry::GetSearchTextPtr( utl::SearchParam::SearchType eSearchType, bool bCaseSens ) const { if ( !pSearchParam ) { OUString aStr = maQueryItems[0].maString.getString(); pSearchParam = new utl::SearchParam( - aStr, utl::SearchParam::SRCH_REGEXP, bCaseSens, false, false); + aStr, eSearchType, bCaseSens, false, false); pSearchText = new utl::TextSearch( *pSearchParam, *ScGlobal::pCharClass ); } return pSearchText; |