summaryrefslogtreecommitdiff
path: root/sd/source/ui/docshell/grdocsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/docshell/grdocsh.cxx')
-rw-r--r--sd/source/ui/docshell/grdocsh.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/sd/source/ui/docshell/grdocsh.cxx b/sd/source/ui/docshell/grdocsh.cxx
index 38dff2996fcf..d5e7315144c0 100644
--- a/sd/source/ui/docshell/grdocsh.cxx
+++ b/sd/source/ui/docshell/grdocsh.cxx
@@ -68,8 +68,16 @@ SFX_IMPL_OBJECTFACTORY( GraphicDocShell, SvGlobalName(SO3_SDRAW_CLASSID_60), SFX
GraphicDocShell::GraphicDocShell(SfxObjectCreateMode eMode,
BOOL bDataObject,
- DocumentType eDocType,BOOL bScriptSupport) :
- DrawDocShell(eMode, bDataObject, eDocType, bScriptSupport)
+ DocumentType eDocType) :
+ DrawDocShell(eMode, bDataObject, eDocType)
+{
+ SetStyleFamily( SD_STYLE_FAMILY_GRAPHICS );
+}
+
+GraphicDocShell::GraphicDocShell(const sal_uInt64 nModelCreationFlags,
+ BOOL bDataObject,
+ DocumentType eDocType) :
+ DrawDocShell(nModelCreationFlags, bDataObject, eDocType)
{
SetStyleFamily( SD_STYLE_FAMILY_GRAPHICS );
}