summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-11-11 19:44:59 +0000
committerJan Holesovsky <kendy@collabora.com>2019-06-05 22:23:49 +0200
commita0aece4bc5e6395802138a7da7c7bb18bae37a49 (patch)
treec477e95c0b9dd5613236a4806851931536ca4d95
parentcc4a36b8b00f41ed8ae2c7047d5995cf04ea80e3 (diff)
fix oss-fuzz build
Change-Id: Ia32a80547cd3e3fd21791d8ef2cf717700c790a8
-rw-r--r--vcl/headless/CustomWidgetDraw.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/headless/CustomWidgetDraw.cxx b/vcl/headless/CustomWidgetDraw.cxx
index a8ca746b16ec..9e49390b0f3a 100644
--- a/vcl/headless/CustomWidgetDraw.cxx
+++ b/vcl/headless/CustomWidgetDraw.cxx
@@ -23,6 +23,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"));
@@ -45,6 +46,7 @@ CustomWidgetDraw::CustomWidgetDraw(SvpSalGraphics& rGraphics)
pSVData->maNWFData.mbNoFocusRectsForFlatButtons = true;
}
}
+#endif
}
CustomWidgetDraw::~CustomWidgetDraw() {}