summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2021-12-07 20:48:32 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2021-12-10 19:10:17 +0100
commitaec427fd124e73298b46f7b0423fa90f8e024f4b (patch)
treec5ebdeca7af3374dd82460ee2315f05a4b4480a4 /svx
parent1db4d3c869dbd4d68c0ab7b15c60bb2dad0a9f67 (diff)
Related tdf#102506: make Find Bar Ctrl+F searching by value by default
Change-Id: I4c001b60eecbcdae95cde6d79cc91bb887d7a742 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126490 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> (cherry picked from commit b60bc1e597032e598caf43d1a13409068b800f57) Change-Id: I95105ca522aa4905fa223b80828684810f0dccd7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126599 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/tbunosearchcontrollers.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
index 75a08ed16973..6deb930c18f2 100644
--- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx
+++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
@@ -169,6 +169,8 @@ void impl_executeSearch( const css::uno::Reference< css::uno::XComponentContext
auto aArgs( comphelper::InitPropertySequence( {
{ "SearchItem.SearchString", css::uno::makeAny( sFindText ) },
+ // Related tdf#102506: make Find Bar Ctrl+F searching by value by default
+ { "SearchItem.CellType", css::uno::makeAny( sal_Int16(SvxSearchCellType::VALUE) ) },
{ "SearchItem.Backward", css::uno::makeAny( aSearchBackwards ) },
{ "SearchItem.SearchFlags", css::uno::makeAny( sal_Int32(0) ) },
{ "SearchItem.TransliterateFlags", css::uno::makeAny( static_cast<sal_Int32>(nFlags) ) },