svl/source/items/srchitem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit dd5710a8dd4e05059ac248243d950e28d830905d Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sat Feb 24 09:40:14 2024 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sat Feb 24 11:23:20 2024 +0100 tdf#159862: set SearchWildcard to false changes SearchRegularExpression value Like this since 2016 with 3a0abd3019ec3ca29b8f1378cdb32ebf741e6306 add SvxSearchItem::GetWildcard() SetWildcard() Change-Id: Id988a6e58488af6b1f274a318e9d1f52c7a8b169 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163876 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Jenkins 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; }