diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-09-24 12:46:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-09-24 15:26:21 +0200 |
commit | 78cee244be863a14dfc76e4540b21dd08dba5e5a (patch) | |
tree | 8d8b053459db61b44793b62d34f3f241e9787486 /sw/source/uibase/uno/unodispatch.cxx | |
parent | b0886a4dc7e5a34ab3ee302b6ad6c30c0ce6a0af (diff) |
make it possible to build required database stuff for fuzzing
The dbase filter requires dbaccess and connectivity but I don't want
to pull in the rest of the stuff that --disable-database-connectivity
currently disables that we still don't need for fuzzing if
--disable-database-connectivity is removed
Change-Id: Ia48d42295f9724b4dd2d3beb8e46ed23fc789f5c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122579
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/uno/unodispatch.cxx')
-rw-r--r-- | sw/source/uibase/uno/unodispatch.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unodispatch.cxx b/sw/source/uibase/uno/unodispatch.cxx index 233b7a868885..d185f982ccfc 100644 --- a/sw/source/uibase/uno/unodispatch.cxx +++ b/sw/source/uibase/uno/unodispatch.cxx @@ -18,6 +18,7 @@ */ #include <config_features.h> +#include <config_fuzzers.h> #include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/view/XSelectionSupplier.hpp> @@ -199,7 +200,7 @@ void SwXDispatch::dispatch(const util::URL& aURL, { if(!m_pView) throw uno::RuntimeException(); -#if !HAVE_FEATURE_DBCONNECTIVITY +#if !HAVE_FEATURE_DBCONNECTIVITY || ENABLE_FUZZERS (void) aArgs; if (false) { |