diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-11-11 19:44:59 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-11-11 19:45:56 +0000 |
commit | 50519e036a2707aca59cc8a7b58c4fdd7aeff580 (patch) | |
tree | 4bf9a82b59b5de7f2b0a5c466fc48f0d56ec7fa6 /vcl/headless/CustomWidgetDraw.cxx | |
parent | 1c1decd768a30471e170cd7782d7dc0a5151d915 (diff) |
fix oss-fuzz build
Change-Id: Ia32a80547cd3e3fd21791d8ef2cf717700c790a8
Diffstat (limited to 'vcl/headless/CustomWidgetDraw.cxx')
-rw-r--r-- | vcl/headless/CustomWidgetDraw.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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() {} |