summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-10-11 10:19:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-10-11 17:12:26 +0200
commit05e30f4a04e6dcdb25582280f248eb35f91cb296 (patch)
tree3f3ba29bb324073a2fc6e24ce61d8976cceb899f /filter
parent0d6a64c218791156e050c2050b8070d40fdacf97 (diff)
ofz#15504 Timeout
Change-Id: Id5d2af80ad1812c192fb7913c651b0edbd2dc079 Reviewed-on: https://gerrit.libreoffice.org/80646 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/icgm/actimpr.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/filter/source/graphicfilter/icgm/actimpr.cxx b/filter/source/graphicfilter/icgm/actimpr.cxx
index bdf99e8400de..dd72bd297dbd 100644
--- a/filter/source/graphicfilter/icgm/actimpr.cxx
+++ b/filter/source/graphicfilter/icgm/actimpr.cxx
@@ -46,6 +46,7 @@
#include <comphelper/processfactory.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <tools/helpers.hxx>
+#include <unotools/configmgr.hxx>
#include <vcl/gradient.hxx>
#include "main.hxx"
@@ -104,9 +105,10 @@ bool CGMImpressOutAct::ImplInitPage()
return bStatRet;
}
-
bool CGMImpressOutAct::ImplCreateShape( const OUString& rType )
{
+ if (utl::ConfigManager::IsFuzzing())
+ return false;
uno::Reference< uno::XInterface > xNewShape( maXMultiServiceFactory->createInstance( rType ) );
maXShape.set( xNewShape, uno::UNO_QUERY );
maXPropSet.set( xNewShape, uno::UNO_QUERY );
@@ -124,7 +126,6 @@ bool CGMImpressOutAct::ImplCreateShape( const OUString& rType )
return false;
}
-
void CGMImpressOutAct::ImplSetOrientation( FloatPoint const & rRefPoint, double rOrientation )
{
maXPropSet->setPropertyValue( "RotationPointX", uno::Any(static_cast<sal_Int32>(rRefPoint.X)) );