From a2bf2ca1e3d398db0caa07fce4d135e6dc8b2f27 Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Fri, 8 Mar 2019 08:49:10 +0100 Subject: make it possible to use FileDefinitionWidgetDraw in more backends MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8871eb49e11d8c72c469230967c3c979091a0f9b Reviewed-on: https://gerrit.libreoffice.org/68898 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- vcl/quartz/salgdi.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'vcl/quartz/salgdi.cxx') diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx index 379174690968..18eda87c2de7 100644 --- a/vcl/quartz/salgdi.cxx +++ b/vcl/quartz/salgdi.cxx @@ -30,6 +30,7 @@ #include #include #include +#include #include #include @@ -212,6 +213,9 @@ AquaSalGraphics::AquaSalGraphics() for (int i = 0; i < MAX_FALLBACK; ++i) mpTextStyle[i] = nullptr; + + if (comphelper::LibreOfficeKit::isActive()) + initWidgetDrawBackends(true); } AquaSalGraphics::~AquaSalGraphics() -- cgit v1.2.3