summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-08-14 16:41:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-08-14 18:52:46 +0200
commita6bb3eb13a6e28fd1efa2b98b18560f11f21afde (patch)
tree371d0edcd9ba88a7bae0d7958f07d33a3d5820eb /svx/source
parentd4450b9a9fe26e03fabb07162e88f742ba2c1f77 (diff)
ofz#49750 Timeout
skip slow path on fuzzing Change-Id: Idc27574ed7607011491248e726c1ba4bce9d483b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138253 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/engine3d/obj3d.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx
index 692e3d757f53..613e3e93fa83 100644
--- a/svx/source/engine3d/obj3d.cxx
+++ b/svx/source/engine3d/obj3d.cxx
@@ -549,6 +549,9 @@ SdrObjKind E3dCompoundObject::GetObjIdentifier() const
void E3dCompoundObject::RecalcSnapRect()
{
+ if (utl::ConfigManager::IsFuzzing()) // skip slow path for fuzzing
+ return;
+
const uno::Sequence< beans::PropertyValue > aEmptyParameters;
drawinglayer::geometry::ViewInformation3D aViewInfo3D(aEmptyParameters);
E3dScene* pRootScene = fillViewInformation3DForCompoundObject(aViewInfo3D, *this);