[Libreoffice-commits] core.git: vcl/headless
Jan Holesovsky (via logerrit)
logerrit at kemper.freedesktop.org
Wed May 15 15:23:59 UTC 2019
vcl/headless/svpgdi.cxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit ad9d2faff8ccb216c85e617d4d86464a91f317e0
Author: Jan Holesovsky <kendy at collabora.com>
AuthorDate: Wed May 15 12:25:26 2019 +0200
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Wed May 15 17:22:37 2019 +0200
Attempt to load the theme when LibreOfficeKit is active.
Change-Id: Ie8640b7179a96cb40fb774ede097ca7b3640edd8
Reviewed-on: https://gerrit.libreoffice.org/72349
Reviewed-by: Andras Timar <andras.timar at collabora.com>
Tested-by: Andras Timar <andras.timar at collabora.com>
(cherry picked from commit 7d55c2b8886ae00a60aa469503f596ee488c25c0)
Reviewed-on: https://gerrit.libreoffice.org/72353
Tested-by: Jenkins
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index 74c27e9ba960..0f6fda87fd5b 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -594,9 +594,10 @@ SvpSalGraphics::SvpSalGraphics()
, m_ePaintMode(PaintMode::Over)
, m_aTextRenderImpl(*this)
{
- if (!initWidgetDrawBackends())
+ bool bLOKActive = comphelper::LibreOfficeKit::isActive();
+ if (!initWidgetDrawBackends(bLOKActive))
{
- if (comphelper::LibreOfficeKit::isActive())
+ if (bLOKActive)
m_pWidgetDraw.reset(new vcl::CustomWidgetDraw(*this));
}
}
More information about the Libreoffice-commits
mailing list