diff options
-rw-r--r-- | filter/source/graphicfilter/icgm/actimpr.cxx | 5 |
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)) ); |