diff options
author | Eike Rathke <erack@redhat.com> | 2016-02-18 23:48:17 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-02-19 00:10:14 +0100 |
commit | 06fa2a521b49afe44a387dbfcb65198382f6c57a (patch) | |
tree | a56f669b5dd23c16666e461f3b35a34083800b30 /sc/inc/compare.hxx | |
parent | 92173313eae76d721580120b0de2c98fd83c5384 (diff) |
change all bool bRegExp to utl::SearchParam::SearchType enum, tdf#72196
Later inspect all places that use utl::SearchParam::SRCH_REGEXP if and
how to use utl::SearchParam::SRCH_WILDCARD as well.
Change-Id: I6ad4e5dea3cd656fd670f2281aaceec817953211
Diffstat (limited to 'sc/inc/compare.hxx')
-rw-r--r-- | sc/inc/compare.hxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/inc/compare.hxx b/sc/inc/compare.hxx index adfdfbc67597..cd4f9e7e7ac2 100644 --- a/sc/inc/compare.hxx +++ b/sc/inc/compare.hxx @@ -22,6 +22,7 @@ #include "queryentry.hxx" +#include <unotools/textsearch.hxx> #include <svl/sharedstring.hxx> class ScDocument; @@ -50,11 +51,11 @@ struct Compare struct CompareOptions { - ScQueryEntry aQueryEntry; - bool bRegEx; - bool bMatchWholeCell; + ScQueryEntry aQueryEntry; + utl::SearchParam::SearchType eSearchType; + bool bMatchWholeCell; - CompareOptions( ScDocument* pDoc, const ScQueryEntry& rEntry, bool bReg ); + CompareOptions( ScDocument* pDoc, const ScQueryEntry& rEntry, utl::SearchParam::SearchType eSrchTyp ); private: CompareOptions( const CompareOptions & ) = delete; CompareOptions& operator=( const CompareOptions & ) = delete; |