summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-20 16:42:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-20 19:15:43 +0200
commit7b96f6252b02074f20dc99215339f62f21c86399 (patch)
treead9ef91aab307e2255c57b8ba200a2e46fa4ce73 /sc
parent7562be3f0a1483d65078842da2b18aa8cf0c177b (diff)
ofz#18301 Timeout in xlsfuzzer
Change-Id: I7e18899fe2c0ef2d1b553bbbaab383e7ea9f1451 Reviewed-on: https://gerrit.libreoffice.org/81171 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xipivot.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/filter/excel/xipivot.cxx b/sc/source/filter/excel/xipivot.cxx
index 37ca835669b7..62a9e10ff2dd 100644
--- a/sc/source/filter/excel/xipivot.cxx
+++ b/sc/source/filter/excel/xipivot.cxx
@@ -29,6 +29,7 @@
#include <svl/intitem.hxx>
#include <sal/log.hxx>
#include <sot/storage.hxx>
+#include <unotools/configmgr.hxx>
#include <document.hxx>
#include <formulacell.hxx>
@@ -1409,6 +1410,9 @@ void XclImpPivotTable::Convert()
if( !mxPCache || !mxPCache->IsValid() )
return;
+ if (utl::ConfigManager::IsFuzzing()) //just too slow
+ return;
+
ScDPSaveData aSaveData;
// *** global settings ***