diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-16 20:36:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-17 14:44:54 +0100 |
commit | 26103123f3464613f1266f268cb23c05ab81426c (patch) | |
tree | ffef5028312d03cfc861b5e5a5af18a970ef8575 /svx/source | |
parent | 1b2da574ba2c37891ee59709731537af7a1ca3c2 (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/source')
-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 98a093a65c1e..b6aede0dd926 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> @@ -782,6 +783,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 |