diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-20 09:37:37 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-20 15:13:50 +0100 |
commit | 7cd75ff1c9520e41d4803eda00538469393ab184 (patch) | |
tree | 385899548e9491f209d1a3198200eb79cdea8e12 | |
parent | ce204e444379d0fab21a8cf759df659ebafb5638 (diff) |
ofz#4328 Abrt
Change-Id: Ia122ca02b96682e436315b89c1510230c2ec5150
Reviewed-on: https://gerrit.libreoffice.org/44950
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sc/source/core/data/drwlayer.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
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 : |