diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-04-11 14:29:37 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-04-11 17:02:25 +0200 |
commit | 47b1d193b6e1537103c1774f4f045d9fa4210220 (patch) | |
tree | 5c72b7dfbc1c1a750d927c0f14002a0c74e46752 | |
parent | 4ffe58c5be712072387a8403dca8ba3cbc1df35a (diff) |
ofz#32908 avoid Timeout
Change-Id: I560a5ff4caf204cc46d6cfb5f7680328295020fd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113949
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sc/source/core/data/documen2.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx index ce47333cd14c..3191e3d5f816 100644 --- a/sc/source/core/data/documen2.cxx +++ b/sc/source/core/data/documen2.cxx @@ -36,6 +36,7 @@ #include <comphelper/threadpool.hxx> #include <sal/log.hxx> #include <osl/diagnose.h> +#include <unotools/configmgr.hxx> #include <scmod.hxx> #include <document.hxx> @@ -192,8 +193,8 @@ ScDocument::ScDocument( ScDocumentMode eMode, SfxObjectShell* pDocShell ) : if ( eMode == SCDOCMODE_DOCUMENT || eMode == SCDOCMODE_FUNCTIONACCESS ) { mxPoolHelper = new ScPoolHelper( *this ); - - pBASM.reset( new ScBroadcastAreaSlotMachine( this ) ); + if (!utl::ConfigManager::IsFuzzing()) //just too slow + pBASM.reset( new ScBroadcastAreaSlotMachine( this ) ); pChartListenerCollection.reset( new ScChartListenerCollection( *this ) ); pRefreshTimerControl.reset( new ScRefreshTimerControl ); } |