officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu |    5 
++++-
 svx/source/tbxctrls/tbunosearchcontrollers.cxx                       |    2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit aec427fd124e73298b46f7b0423fa90f8e024f4b
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Tue Dec 7 20:48:32 2021 +0100
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Fri Dec 10 19:10:17 2021 +0100

    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 <serval2...@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 <xiscofa...@libreoffice.org>

diff --git 
a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu 
b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
index 3fb594e55739..d615c04a0d00 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu
@@ -1658,7 +1658,10 @@ bit 3 (0x8): #define 
UICOMMANDDESCRIPTION_PROPERTIES_TOGGLEBUTTON 8
       </node>
       <node oor:name=".uno:FindText" oor:op="replace">
         <prop oor:name="Label" oor:type="xs:string">
-          <value xml:lang="en-US">Find Text</value>
+          <value xml:lang="en-US">Find Values</value>
+        </prop>
+        <prop oor:name="TooltipLabel" oor:type="xs:string">
+          <value xml:lang="en-US">Find text in values, to search in formulas 
use the dialog</value>
         </prop>
       </node>
       <node oor:name=".uno:DownSearch" oor:op="replace">
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) ) },

Reply via email to