summaryrefslogtreecommitdiff
path: root/sd/source/ui/app/sdmod1.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-28 17:08:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-29 10:12:22 +0100
commit084ba859b42c2b6ef6d812f3cc432b87e4385e7c (patch)
tree91b6675935f3bbab8d42d9161b2949ddf8df98f7 /sd/source/ui/app/sdmod1.cxx
parentdbd71116ea19d33476d2619440cf3008402eaf72 (diff)
loplugin:countusersofdefaultparams in sd
Change-Id: I6eb55d450d02615526e78fb69337c66c840ef8a3 Reviewed-on: https://gerrit.libreoffice.org/45463 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/app/sdmod1.cxx')
-rw-r--r--sd/source/ui/app/sdmod1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx
index 3c760b367353..715ea305341a 100644
--- a/sd/source/ui/app/sdmod1.cxx
+++ b/sd/source/ui/app/sdmod1.cxx
@@ -261,7 +261,7 @@ bool SdModule::OutlineToImpress(SfxRequest const & rRequest)
SfxObjectShellLock xDocShell;
::sd::DrawDocShell* pDocSh;
xDocShell = pDocSh = new ::sd::DrawDocShell(
- SfxObjectCreateMode::STANDARD, false);
+ SfxObjectCreateMode::STANDARD, false, DocumentType::Impress);
pDocSh->DoInitNew();
SdDrawDocument* pDoc = pDocSh->GetDoc();