basegfx/source/tools/systemdependentdata.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 441889318ff3bd1340e5c3d8afd868db948f1535 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat May 7 20:22:56 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat May 7 22:53:21 2022 +0200 ofz#46070 Out-of-memory Change-Id: Ibc242ae6b267d989997162d9a4dac9a409f172be Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133993 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> 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);