summaryrefslogtreecommitdiff
path: root/vcl/quartz/salgdi.cxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-03-08 08:49:10 +0100
committerTomaž Vajngerl <quikee@gmail.com>2019-03-08 09:47:20 +0100
commita2bf2ca1e3d398db0caa07fce4d135e6dc8b2f27 (patch)
tree8f1b64694bee143f6b60d55e774836aa254cd516 /vcl/quartz/salgdi.cxx
parent1e21df65c89de18c26d4602e1b8744c49f9ae183 (diff)
make it possible to use FileDefinitionWidgetDraw in more backends
Change-Id: I8871eb49e11d8c72c469230967c3c979091a0f9b Reviewed-on: https://gerrit.libreoffice.org/68898 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/quartz/salgdi.cxx')
-rw-r--r--vcl/quartz/salgdi.cxx4
1 files changed, 4 insertions, 0 deletions
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 <osl/process.h>
#include <rtl/bootstrap.h>
#include <rtl/strbuf.hxx>
+#include <comphelper/lok.hxx>
#include <vcl/metric.hxx>
#include <vcl/fontcharmap.hxx>
@@ -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()