summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svl/source/items/srchitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/srchitem.cxx b/svl/source/items/srchitem.cxx
index 1300bf744afa..6aa7c36ddca2 100644
--- a/svl/source/items/srchitem.cxx
+++ b/svl/source/items/srchitem.cxx
@@ -364,7 +364,7 @@ void SvxSearchItem::SetWildcard( bool bVal )
{
m_aSearchOpt.AlgorithmType2 = SearchAlgorithms2::WILDCARD;
}
- else if ( SearchAlgorithms2::REGEXP == m_aSearchOpt.AlgorithmType2 )
+ else if ( SearchAlgorithms2::WILDCARD == m_aSearchOpt.AlgorithmType2 )
{
m_aSearchOpt.AlgorithmType2 = SearchAlgorithms2::ABSOLUTE;
}