summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-04-01 17:21:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-04-01 20:58:00 +0200
commit74a12d9710ba1a9855c6afb18055152120148833 (patch)
treec581d9d653fb821b0a3a247c309925eb89390cee
parentcd91de9d23106ad5170bb83ce71b74342b42d02f (diff)
ofz#45529 Timeout
Change-Id: I232d3c07623c7efbc7b0b910298bd77bf469a38b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132442 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--sc/source/core/data/documen4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx
index 9ec96b77b243..d19f9cedf91b 100644
--- a/sc/source/core/data/documen4.cxx
+++ b/sc/source/core/data/documen4.cxx
@@ -274,9 +274,9 @@ void ScDocument::InsertMatrixFormula(SCCOL nCol1, SCROW nRow1,
if (utl::ConfigManager::IsFuzzing())
{
// just too slow
- if (nCol2 - nCol1 > 1024)
+ if (nCol2 - nCol1 > 256)
return;
- if (nRow2 - nRow1 > 1024)
+ if (nRow2 - nRow1 > 256)
return;
}
assert( ValidColRow( nCol1, nRow1) && ValidColRow( nCol2, nRow2));