diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-28 10:51:01 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-28 10:56:20 +0100 |
commit | ec06f95d91341c277d53828323fc0f4f3f8d9570 (patch) | |
tree | b11a51273db8f1e254de30042af9ff7a297b70f3 /sw | |
parent | cd3edd369bf3e846a897e4973de361b6380b74f3 (diff) |
fix leak
Change-Id: I5bc8efa8a9de6d7a2be99f6c816e3dfca4f2b390
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/dialog/macassgn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dialog/macassgn.cxx b/sw/source/ui/dialog/macassgn.cxx index 3fc1146a9183..2c324045c02e 100644 --- a/sw/source/ui/dialog/macassgn.cxx +++ b/sw/source/ui/dialog/macassgn.cxx @@ -119,7 +119,7 @@ bool SwMacroAssignDlg::INetFormatDlg( vcl::Window* pParent, SwWrtShell& rSh, aSet.Put( AddEvents( MACASSGN_INETFMT ) ); SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); - SfxAbstractDialog* pMacroDlg = pFact->CreateSfxDialog( pParent, aSet, + VclPtr<SfxAbstractDialog> pMacroDlg = pFact->CreateSfxDialog( pParent, aSet, rSh.GetView().GetViewFrame()->GetFrame().GetFrameInterface(), SID_EVENTCONFIG ); if ( pMacroDlg && pMacroDlg->Execute() == RET_OK ) |