summaryrefslogtreecommitdiff
path: root/sd/source/ui/docshell/grdocsh.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <cmc@openoffice.org>2010-04-09 09:31:27 +0100
committerCaolán McNamara <cmc@openoffice.org>2010-04-09 09:31:27 +0100
commite8c667fcf38286ca9944dfca3c07b63f3939679b (patch)
tree6f24d0de713104c869d95adf38aa9ef434d7f206 /sd/source/ui/docshell/grdocsh.cxx
parent92005938ab0d211ac9d49afc48bf218078fb1b5e (diff)
parente725e315399f527e63f919a9a6861066b1f41512 (diff)
cmcfixes74: merge with DEV300 m76
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 );
}