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

Caolán McNamara caolanm at redhat.com
Mon Nov 20 14:14:16 UTC 2017


 sc/source/core/data/drwlayer.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 7cd75ff1c9520e41d4803eda00538469393ab184
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Nov 20 09:37:37 2017 +0000

    ofz#4328 Abrt
    
    Change-Id: Ia122ca02b96682e436315b89c1510230c2ec5150
    Reviewed-on: https://gerrit.libreoffice.org/44950
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx
index 7b0cc89fa0f1..2b0d6e6f867d 100644
--- a/sc/source/core/data/drwlayer.cxx
+++ b/sc/source/core/data/drwlayer.cxx
@@ -47,11 +47,12 @@
 #include <sfx2/viewsh.hxx>
 #include <sfx2/docfile.hxx>
 #include <sot/storage.hxx>
-#include <unotools/pathoptions.hxx>
 #include <svl/itempool.hxx>
 #include <vcl/virdev.hxx>
 #include <vcl/svapp.hxx>
 #include <vcl/settings.hxx>
+#include <unotools/configmgr.hxx>
+#include <unotools/pathoptions.hxx>
 #include <unotools/ucbstreamhelper.hxx>
 
 #include <basegfx/polygon/b2dpolygon.hxx>
@@ -232,7 +233,7 @@ static void lcl_ReverseTwipsToMM( tools::Rectangle& rRect )
 }
 
 ScDrawLayer::ScDrawLayer( ScDocument* pDocument, const OUString& rName ) :
-    FmFormModel( SvtPathOptions().GetPalettePath(),
+    FmFormModel( !utl::ConfigManager::IsFuzzing() ? SvtPathOptions().GetPalettePath() : OUString(),
                  nullptr,                          // SfxItemPool* Pool
                  pGlobalDrawPersist ?
                      pGlobalDrawPersist :


More information about the Libreoffice-commits mailing list