Kaydet (Commit) 7d55c2b8 authored tarafından Jan Holesovsky's avatar Jan Holesovsky Kaydeden (comit) Andras Timar

Attempt to load the theme when LibreOfficeKit is active.

Change-Id: Ie8640b7179a96cb40fb774ede097ca7b3640edd8
Reviewed-on: https://gerrit.libreoffice.org/72349Reviewed-by: 's avatarAndras Timar <andras.timar@collabora.com>
Tested-by: 's avatarAndras Timar <andras.timar@collabora.com>
üst 34866d32
...@@ -562,9 +562,10 @@ SvpSalGraphics::SvpSalGraphics() ...@@ -562,9 +562,10 @@ SvpSalGraphics::SvpSalGraphics()
, m_ePaintMode(PaintMode::Over) , m_ePaintMode(PaintMode::Over)
, m_aTextRenderImpl(*this) , 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)); m_pWidgetDraw.reset(new vcl::CustomWidgetDraw(*this));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment