svtools/source/control/ctrlbox.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 1d50bbc8df0b9b1cad16bccc835f1aecfdf2abfb
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Fri Aug 25 18:01:54 2023 +0200
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Mon Sep 11 09:59:23 2023 +0200

    lok: don't prerender font previews
    
    Change-Id: Id83a6804f658d56793913b8e8e07f7ec1f2ff82a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156116
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156812
    Tested-by: Jenkins

diff --git a/svtools/source/control/ctrlbox.cxx 
b/svtools/source/control/ctrlbox.cxx
index 40dd39b0d289..5c24d36e6607 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -571,6 +571,9 @@ namespace
 
 IMPL_LINK_NOARG(FontNameBox, UpdateHdl, Timer*, void)
 {
+    if (comphelper::LibreOfficeKit::isActive())
+        return;
+
     CachePreview(mnPreviewProgress++, nullptr);
     // tdf#132536 limit to ~25 pre-rendered for now. The font caches look
     // b0rked, the massive charmaps are ~never swapped out, and don't count

Reply via email to