Kaydet (Commit) ad9d2faf 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>
(cherry picked from commit 7d55c2b8)
Reviewed-on: https://gerrit.libreoffice.org/72353
Tested-by: Jenkins
üst 8511fd90
......@@ -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));
}
}
......
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