summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/mmoutputpage.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-20 11:47:00 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-20 11:47:00 +0200
commit0705f7da48bf36949dd323ba0103db86708e00e7 (patch)
tree7083e0abcc5b9a17700498b97520cd8c8faa72e8 /sw/source/ui/dbui/mmoutputpage.cxx
parent85ce992473a435497014f856f95f3914783f8d72 (diff)
loplugin:defaultparams
Change-Id: I11ff551955c1ac291ab576f2f18c2dd410427eda
Diffstat (limited to 'sw/source/ui/dbui/mmoutputpage.cxx')
-rw-r--r--sw/source/ui/dbui/mmoutputpage.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dbui/mmoutputpage.cxx b/sw/source/ui/dbui/mmoutputpage.cxx
index 6f949aee867a..dbd3d81f2f28 100644
--- a/sw/source/ui/dbui/mmoutputpage.cxx
+++ b/sw/source/ui/dbui/mmoutputpage.cxx
@@ -748,7 +748,7 @@ IMPL_LINK_TYPED(SwMailMergeOutputPage, SaveOutputHdl_Impl, Button*, pButton, voi
//now extract a document from the target document
// the shell will be closed at the end, but it is more safe to use SfxObjectShellLock here
SfxObjectShellLock xTempDocShell( new SwDocShell( SfxObjectCreateMode::STANDARD ) );
- xTempDocShell->DoInitNew( 0 );
+ xTempDocShell->DoInitNew();
SfxViewFrame* pTempFrame = SfxViewFrame::LoadHiddenDocument( *xTempDocShell, 0 );
SwView* pTempView = static_cast<SwView*>( pTempFrame->GetViewShell() );
pTargetView->GetWrtShell().StartAction();
@@ -1146,7 +1146,7 @@ IMPL_LINK_TYPED(SwMailMergeOutputPage, SendDocumentsHdl_Impl, Button*, pButton,
//now extract a document from the target document
// the shell will be closed at the end, but it is more safe to use SfxObjectShellLock here
SfxObjectShellLock xTempDocShell( new SwDocShell( SfxObjectCreateMode::STANDARD ) );
- xTempDocShell->DoInitNew( 0 );
+ xTempDocShell->DoInitNew();
SfxViewFrame* pTempFrame = SfxViewFrame::LoadHiddenDocument( *xTempDocShell, 0 );
SwView* pTempView = static_cast<SwView*>( pTempFrame->GetViewShell() );
pTargetView->GetWrtShell().StartAction();