[Libreoffice-commits] core.git: vcl/headless

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Nov 11 19:46:19 UTC 2018


 vcl/headless/CustomWidgetDraw.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 50519e036a2707aca59cc8a7b58c4fdd7aeff580
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Nov 11 19:44:59 2018 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Nov 11 19:45:56 2018 +0000

    fix oss-fuzz build
    
    Change-Id: Ia32a80547cd3e3fd21791d8ef2cf717700c790a8

diff --git a/vcl/headless/CustomWidgetDraw.cxx b/vcl/headless/CustomWidgetDraw.cxx
index ca0af690a874..3bb5b53ec9a5 100644
--- a/vcl/headless/CustomWidgetDraw.cxx
+++ b/vcl/headless/CustomWidgetDraw.cxx
@@ -24,6 +24,7 @@ WidgetThemeLibrary* CustomWidgetDraw::s_pWidgetImplementation = nullptr;
 CustomWidgetDraw::CustomWidgetDraw(SvpSalGraphics& rGraphics)
     : m_rGraphics(rGraphics)
 {
+#ifndef DISABLE_DYNLOADING
     if (!s_pWidgetImplementation)
     {
         OUString aUrl("${LO_LIB_DIR}/" SVLIBRARY("vcl_widget_theme"));
@@ -46,6 +47,7 @@ CustomWidgetDraw::CustomWidgetDraw(SvpSalGraphics& rGraphics)
             pSVData->maNWFData.mbNoFocusRectsForFlatButtons = true;
         }
     }
+#endif
 }
 
 CustomWidgetDraw::~CustomWidgetDraw() {}


More information about the Libreoffice-commits mailing list