diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2024-02-24 09:40:14 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2024-02-24 11:23:20 +0100 |
commit | dd5710a8dd4e05059ac248243d950e28d830905d (patch) | |
tree | 5debf77afdec6b9c17cb26f8d00a0c29a828afaa /svl | |
parent | e2cacf0456f79540ced611be84504d11b94ebe6f (diff) |
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 <serval2412@yahoo.fr>
Tested-by: Jenkins
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/srchitem.cxx | 2 |
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; } |