svtools/source/control/ctrlbox.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit 92c77b336c700d754a3d2513e4c1a4ceaa0b1045 Author: Szymon Kłos <[email protected]> AuthorDate: Fri Aug 25 18:01:54 2023 +0200 Commit: Szymon Kłos <[email protected]> CommitDate: Mon Aug 28 16:27:26 2023 +0200 lok: don't prerender font previews Change-Id: Id83a6804f658d56793913b8e8e07f7ec1f2ff82a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156116 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> Reviewed-by: Szymon Kłos <[email protected]> diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 482d53f28e0b..2973f326c221 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
