summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basegfx/source/tools/systemdependentdata.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/basegfx/source/tools/systemdependentdata.cxx b/basegfx/source/tools/systemdependentdata.cxx
index 6bf80413d12b..0d64d9982cef 100644
--- a/basegfx/source/tools/systemdependentdata.cxx
+++ b/basegfx/source/tools/systemdependentdata.cxx
@@ -37,6 +37,10 @@ namespace basegfx
sal_uInt32 SystemDependentData::calculateCombinedHoldCyclesInSeconds() const
{
+#if ENABLE_FUZZERS
+ return 0;
+#endif
+
if(0 == mnCalculatedCycles)
{
const sal_Int64 nBytes(estimateUsageInBytes());
@@ -49,11 +53,7 @@ namespace basegfx
if(nBytes > 450)
{
// HoldCyclesInSeconds
-#if !ENABLE_FUZZERS
const sal_uInt32 nSeconds = 60;
-#else
- const sal_uInt32 nSeconds = 1;
-#endif
// default is Seconds (minimal is one)
sal_uInt32 nResult(0 == nSeconds ? 1 : nSeconds);