summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-04-26 19:52:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-04-26 22:00:54 +0200
commit60fcd4427231e8c48cd3bf8307e280fd3a13a84f (patch)
tree805ba58bda409fe4636b97a13b807781f0af42d1 /svtools
parenta77eaf8aa893ccac27563fdc4373dc5c36254a9e (diff)
tdf#132424 don't generate font previews in advance for lool
Change-Id: I393db7b019fe16b2b7361bd20ec99dc5671ba1ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92943 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ctrlbox.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index d1c2fe0be831..f5ad5df85fe5 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -19,6 +19,7 @@
#include <config_folders.h>
+#include <comphelper/lok.hxx>
#include <i18nutil/unicode.hxx>
#include <tools/stream.hxx>
#include <vcl/builder.hxx>
@@ -465,7 +466,7 @@ void FontNameBox::Fill( const FontList* pList )
void FontNameBox::EnableWYSIWYG()
{
- if (mbWYSIWYG)
+ if (mbWYSIWYG || comphelper::LibreOfficeKit::isActive())
return;
mbWYSIWYG = true;