summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-12-02 21:07:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-12-03 00:42:59 +0100
commit3aa48124342e737f2a11eef9473ebc33a3873820 (patch)
tree04849f4cf889b169297e39981e9363fb7659aa6e
parentbbe7ce060b3b621e61b2f84a6be15c79f9afd1bb (diff)
ofz#11679 avoid config using path
Change-Id: I5629c4e0bbe29390db5350b05523409c48bbb84d Reviewed-on: https://gerrit.libreoffice.org/64434 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sc/source/core/data/documen3.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx
index e9dcf697e10d..615f79d85f9f 100644
--- a/sc/source/core/data/documen3.cxx
+++ b/sc/source/core/data/documen3.cxx
@@ -71,6 +71,7 @@
#include <globalnames.hxx>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
#include <comphelper/lok.hxx>
+#include <config_fuzzers.h>
#include <memory>
using namespace com::sun::star;
@@ -558,6 +559,9 @@ bool ScDocument::LinkExternalTab( SCTAB& rTab, const OUString& aDocTab,
return false;
}
rTab = 0;
+#if ENABLE_FUZZERS
+ return false;
+#endif
OUString aFilterName; // Is filled by the Loader
OUString aOptions; // Filter options
sal_uInt32 nLinkCnt = pExtDocOptions ? pExtDocOptions->GetDocSettings().mnLinkCnt : 0;