summaryrefslogtreecommitdiff
path: root/sc/source/core/data/documen4.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-15 12:44:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-08-15 17:28:15 +0200
commit1af7f19224f18e5025352339648db659575eae33 (patch)
treeda0a1586904c4fd948755a894807fe41ded0ee39 /sc/source/core/data/documen4.cxx
parentc2db702ca3df56bd4a1c26d2171cd0ac5259b973 (diff)
ofz#9894 cut out slow paths
Change-Id: I4be00089740e5d96ceac70505e190769e86b55eb Reviewed-on: https://gerrit.libreoffice.org/59106 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/source/core/data/documen4.cxx')
-rw-r--r--sc/source/core/data/documen4.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/core/data/documen4.cxx b/sc/source/core/data/documen4.cxx
index 873d980c53a7..136e34e27e74 100644
--- a/sc/source/core/data/documen4.cxx
+++ b/sc/source/core/data/documen4.cxx
@@ -22,6 +22,7 @@
#include <svl/zformat.hxx>
#include <formula/token.hxx>
#include <sal/log.hxx>
+#include <unotools/configmgr.hxx>
#include <document.hxx>
#include <table.hxx>
@@ -273,6 +274,8 @@ void ScDocument::InsertMatrixFormula(SCCOL nCol1, SCROW nRow1,
SAL_WARN("sc", "ScDocument::InsertMatrixFormula: No table marked");
return;
}
+ if (utl::ConfigManager::IsFuzzing()) //just too slow
+ return;
assert( ValidColRow( nCol1, nRow1) && ValidColRow( nCol2, nRow2));
SCTAB nTab1 = *rMark.begin();