[Libreoffice-commits] core.git: filter/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Fri Oct 11 15:13:36 UTC 2019


 filter/source/graphicfilter/icgm/actimpr.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 05e30f4a04e6dcdb25582280f248eb35f91cb296
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Oct 11 10:19:59 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 11 17:12:26 2019 +0200

    ofz#15504 Timeout
    
    Change-Id: Id5d2af80ad1812c192fb7913c651b0edbd2dc079
    Reviewed-on: https://gerrit.libreoffice.org/80646
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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)) );


More information about the Libreoffice-commits mailing list