sc/source/core/data/drwlayer.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit 7cd75ff1c9520e41d4803eda00538469393ab184 Author: Caolán McNamara <[email protected]> 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 <[email protected]> Tested-by: Caolán McNamara <[email protected]> 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 :
_______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
