summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/filter/lotus/lotimpop.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/filter/lotus/lotimpop.cxx b/sc/source/filter/lotus/lotimpop.cxx
index 6848c6caa8b3..25fe9c7f8c32 100644
--- a/sc/source/filter/lotus/lotimpop.cxx
+++ b/sc/source/filter/lotus/lotimpop.cxx
@@ -33,6 +33,7 @@
#include <namebuff.hxx>
#include <lotattr.hxx>
#include <stringutil.hxx>
+#include <config_fuzzers.h>
#include <unotools/configmgr.hxx>
@@ -327,9 +328,11 @@ void ImportLotus::NamedSheet()
Read(aName);
SCTAB nLTab(SanitizeTab(static_cast<SCTAB>(nTmpTab)));
+#if ENABLE_FUZZERS
//ofz#14167 arbitrary sheet limit to make fuzzing useful
- if (nLTab > 5 && utl::ConfigManager::IsFuzzing())
+ if (nLTab > 5
nLTab = 5;
+#endif
if (pD->HasTable(nLTab))
pD->RenameTab(nLTab, aName);