summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-03 16:02:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-04 07:12:28 +0100
commitf3ba759663b85381cf5abeaeee8ffa2c7ca59bc5 (patch)
tree310a068646b0c057d69346d7fbb07c5a5733ddfb /sd
parentloplugin:unusedenumconstants look through parentheses (diff)
downloadcore-f3ba759663b85381cf5abeaeee8ffa2c7ca59bc5.tar.gz
core-f3ba759663b85381cf5abeaeee8ffa2c7ca59bc5.zip
remove unused enum SfxObjectShellFlags
Change-Id: I594e7beb3fb320b70ffe4dd98fee46c833f443dc Reviewed-on: https://gerrit.libreoffice.org/64453 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/docshell/docshell.cxx1
-rw-r--r--sd/source/ui/docshell/grdocsh.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/sd/source/ui/docshell/docshell.cxx b/sd/source/ui/docshell/docshell.cxx
index ef981118f6d3..4675aeb151a6 100644
--- a/sd/source/ui/docshell/docshell.cxx
+++ b/sd/source/ui/docshell/docshell.cxx
@@ -94,7 +94,6 @@ namespace sd {
SFX_IMPL_OBJECTFACTORY(
DrawDocShell,
SvGlobalName(SO3_SIMPRESS_CLASSID),
- SfxObjectShellFlags::STD_NORMAL,
"simpress" )
void DrawDocShell::Construct( bool bClipboard )
diff --git a/sd/source/ui/docshell/grdocsh.cxx b/sd/source/ui/docshell/grdocsh.cxx
index 67948cce3cb7..09f72bb40226 100644
--- a/sd/source/ui/docshell/grdocsh.cxx
+++ b/sd/source/ui/docshell/grdocsh.cxx
@@ -46,7 +46,7 @@ void GraphicDocShell::InitInterface_Impl()
GetStaticInterface()->RegisterChildWindow(SID_SEARCH_DLG);
}
-SFX_IMPL_OBJECTFACTORY( GraphicDocShell, SvGlobalName(SO3_SDRAW_CLASSID_60), SfxObjectShellFlags::STD_NORMAL, "sdraw" )
+SFX_IMPL_OBJECTFACTORY( GraphicDocShell, SvGlobalName(SO3_SDRAW_CLASSID_60), "sdraw" )
GraphicDocShell::GraphicDocShell(SfxObjectCreateMode eMode) :
DrawDocShell(eMode, /*bDataObject*/true, DocumentType::Draw)