summaryrefslogtreecommitdiff
path: root/sc/source/core/data/table3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/table3.cxx')
-rw-r--r--sc/source/core/data/table3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 828f0a84a1fa..2820b9acbe59 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -2213,7 +2213,7 @@ class QueryEvaluator
bool isRealRegExp(const ScQueryEntry& rEntry) const
{
- if (!mrParam.bRegExp)
+ if (mrParam.eSearchType != utl::SearchParam::SRCH_REGEXP)
return false;
return isTextMatchOp(rEntry);
@@ -2224,7 +2224,7 @@ class QueryEvaluator
if (!mpTestEqualCondition)
return false;
- if (!mrParam.bRegExp)
+ if (mrParam.eSearchType != utl::SearchParam::SRCH_REGEXP)
return false;
return (rEntry.eOp == SC_LESS_EQUAL || rEntry.eOp == SC_GREATER_EQUAL);