[Libreoffice-commits] core.git: svx/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun Nov 17 13:45:42 UTC 2019
svx/source/table/svdotable.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 26103123f3464613f1266f268cb23c05ab81426c
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Nov 16 20:36:24 2019 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Nov 17 14:44:54 2019 +0100
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 at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
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
More information about the Libreoffice-commits
mailing list