sd/source/core/drawdoc4.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 5c28d80e766795b9e998f72f60abdfee01d5fe54
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Thu Dec 1 14:03:15 2022 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Dec 1 17:34:38 2022 +0100

    ofz#53873 Abrt
    
    Change-Id: Iff720fb92f6b385003d328b73e8ebe09da3650f3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143531
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx
index 6791f4c64878..907b4163e500 100644
--- a/sd/source/core/drawdoc4.cxx
+++ b/sd/source/core/drawdoc4.cxx
@@ -38,6 +38,7 @@
 #include <comphelper/processfactory.hxx>
 #include <comphelper/propertyvalue.hxx>
 #include <rtl/bootstrap.hxx>
+#include <unotools/configmgr.hxx>
 #include <unotools/streamwrap.hxx>
 #include <tools/stream.hxx>
 #include <tools/UnitConversion.hxx>
@@ -604,6 +605,9 @@ void SdDrawDocument::CreateLayoutTemplates()
 
 void SdDrawDocument::CreateDefaultCellStyles()
 {
+    if (utl::ConfigManager::IsFuzzing())
+        return;
+
     Reference<css::uno::XComponentContext> 
xContext(comphelper::getProcessComponentContext());
     Reference<css::document::XImporter> 
xImporter(xContext->getServiceManager()->createInstanceWithArgumentsAndContext(
         "com.sun.star.comp.Draw.XMLOasisStylesImporter",

Reply via email to