sw/source/uibase/sidebar/QuickFindPanel.cxx |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

New commits:
commit f2c188d9e8bdd776edf8d35bcc5221137d16bd12
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Mon Aug 4 07:33:17 2025 +0000
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Tue Aug 5 08:26:51 2025 +0200

    jsdialog: do not render quick find entries
    
    we prefer text which reduces used bandwidth
    
    Change-Id: Ifeefaeef737989336ecc5bd0e54823a05c160eec
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188909
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>

diff --git a/sw/source/uibase/sidebar/QuickFindPanel.cxx 
b/sw/source/uibase/sidebar/QuickFindPanel.cxx
index bd476712e694..6c5fe8c46450 100644
--- a/sw/source/uibase/sidebar/QuickFindPanel.cxx
+++ b/sw/source/uibase/sidebar/QuickFindPanel.cxx
@@ -168,10 +168,15 @@ QuickFindPanel::QuickFindPanel(weld::Widget* pParent, 
const uno::Reference<frame
     m_xFindAndReplaceToolbar->connect_clicked(
         LINK(this, QuickFindPanel, FindAndReplaceToolbarClickedHandler));
 
-    m_xSearchFindsList->connect_custom_get_size(
-        LINK(this, QuickFindPanel, SearchFindsListCustomGetSizeHandler));
-    m_xSearchFindsList->connect_custom_render(LINK(this, QuickFindPanel, 
SearchFindsListRender));
-    m_xSearchFindsList->set_column_custom_renderer(1, true);
+    if (!comphelper::LibreOfficeKit::isActive())
+    {
+        m_xSearchFindsList->connect_custom_get_size(
+            LINK(this, QuickFindPanel, SearchFindsListCustomGetSizeHandler));
+        m_xSearchFindsList->connect_custom_render(
+            LINK(this, QuickFindPanel, SearchFindsListRender));
+        m_xSearchFindsList->set_column_custom_renderer(1, true);
+    }
+
     m_xSearchFindsList->connect_changed(
         LINK(this, QuickFindPanel, SearchFindsListSelectionChangedHandler));
     m_xSearchFindsList->connect_row_activated(

Reply via email to