vcl/headless/CustomWidgetDraw.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 50519e036a2707aca59cc8a7b58c4fdd7aeff580 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Nov 11 19:44:59 2018 +0000 Commit: Caolán McNamara <caol...@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() {} _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits