summaryrefslogtreecommitdiffstats
path: root/svl/source/items/srchitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/srchitem.cxx')
-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 1300bf744a..6aa7c36ddc 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;
}