diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-16 20:36:24 +0000 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2021-01-12 11:13:34 +0100 |
commit | 3d9d161cfebeafc7910f07a15c4267b9375f53e7 (patch) | |
tree | 4da7992bd1bcea64a5fb0f488b61d87a0baf962f /svx | |
parent | 87a980c9c213ff0435860d9a2a1f6c85b1482f02 (diff) |
ofz#12553 Timeout, cut out slow uninteresting path for fuzzing
Change-Id: Iaaf940e48a54e9578c747e57f2f328c36e4a119b
Reviewed-on: https://gerrit.libreoffice.org/83002
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/table/svdotable.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index 47e079a3f7c2..77dc10165480 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -22,6 +22,7 @@ #include <com/sun/star/container/XNamed.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/container/XIndexAccess.hpp> +#include <unotools/configmgr.hxx> #include <vcl/canvastools.hxx> #include <vcl/ptrstyle.hxx> #include <com/sun/star/style/XStyle.hpp> @@ -785,6 +786,8 @@ sal_Int32 SdrTableObjImpl::getRowCount() const void SdrTableObjImpl::LayoutTable( tools::Rectangle& rArea, bool bFitWidth, bool bFitHeight ) { + if (utl::ConfigManager::IsFuzzing()) + return; if(mpLayouter) { // Optimization: SdrTableObj::SetChanged() can call this very often, repeatedly |