summaryrefslogtreecommitdiff
path: root/sc/source/core/data/drwlayer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/drwlayer.cxx')
-rw-r--r--sc/source/core/data/drwlayer.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx
index f6cf3f90a0ff..078e49674f09 100644
--- a/sc/source/core/data/drwlayer.cxx
+++ b/sc/source/core/data/drwlayer.cxx
@@ -241,12 +241,9 @@ static ScRange lcl_getClipRangeFromClipDoc(ScDocument* pClipDoc, SCTAB nClipTab)
}
ScDrawLayer::ScDrawLayer( ScDocument* pDocument, const OUString& rName ) :
- FmFormModel( !utl::ConfigManager::IsFuzzing() ? SvtPathOptions().GetPalettePath() : OUString(),
- nullptr, // SfxItemPool* Pool
- pGlobalDrawPersist ?
- pGlobalDrawPersist :
- ( pDocument ? pDocument->GetDocumentShell() : nullptr ),
- true ), // bUseExtColorTable (is set below)
+ FmFormModel(
+ nullptr,
+ pGlobalDrawPersist ? pGlobalDrawPersist : (pDocument ? pDocument->GetDocumentShell() : nullptr)),
aName( rName ),
pDoc( pDocument ),
bRecording( false ),