diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2021-12-24 02:37:33 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2021-12-25 17:04:13 +0100 |
commit | fa5db38ae5bbe9abfd41b6765074ca1200b8def2 (patch) | |
tree | b886ba65a7f79dc8999d1fbc7ff822070e060c12 /sc | |
parent | 35267be7ce33c5203a76e8023382c287b2e1f180 (diff) |
oss-fuzz: fix some compiler warnings
Some unused functions and variables and many missing
HAVE_FEATURE_NSS warnings, because the native-code.py
stubs were missing the config_crypto.h header.
Change-Id: I88ff7d8f96e7382027a21f205db982fd797bd6af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127392
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/documen3.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx index 163c374b6406..35f1f936392e 100644 --- a/sc/source/core/data/documen3.cxx +++ b/sc/source/core/data/documen3.cxx @@ -575,8 +575,11 @@ bool ScDocument::LinkExternalTab( SCTAB& rTab, const OUString& aDocTab, } rTab = 0; #if ENABLE_FUZZERS + (void)aDocTab; + (void)aFileName; + (void)aTabName; return false; -#endif +#else OUString aFilterName; // Is filled by the Loader OUString aOptions; // Filter options sal_uInt32 nLinkCnt = pExtDocOptions ? pExtDocOptions->GetDocSettings().mnLinkCnt : 0; @@ -618,6 +621,7 @@ bool ScDocument::LinkExternalTab( SCTAB& rTab, const OUString& aDocTab, pBindings->Invalidate( SID_LINKS ); } return true; +#endif } ScExternalRefManager* ScDocument::GetExternalRefManager() const |