diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2023-08-25 18:01:54 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2023-09-11 09:59:23 +0200 |
commit | 1d50bbc8df0b9b1cad16bccc835f1aecfdf2abfb (patch) | |
tree | f226bea40bc831957fe152d66e06f5140f1a6435 /svtools/source | |
parent | c8c42754ca8adf2b909261fde01fb3dbad8d50c0 (diff) |
lok: don't prerender font previews
Change-Id: Id83a6804f658d56793913b8e8e07f7ec1f2ff82a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156116
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156812
Tested-by: Jenkins
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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 |