diff options
author | Noel Grandin <noel@peralex.com> | 2015-01-26 13:23:37 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-09 22:02:04 +0100 |
commit | 584e6c6051d8a8371941d61603672891a8aa3013 (patch) | |
tree | b1f050db216c528ac8a68521b045b39a051ecdfc /sw/source/ui/frmdlg/column.cxx | |
parent | 45515c06d26d8a37e683f939b60198ee55343e55 (diff) |
vcl: VclPtr conversion in sw
Change-Id: Ie084a4b14f8371ff81fe6a95e73660e38cd376f2
Diffstat (limited to 'sw/source/ui/frmdlg/column.cxx')
-rw-r--r-- | sw/source/ui/frmdlg/column.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sw/source/ui/frmdlg/column.cxx b/sw/source/ui/frmdlg/column.cxx index a779e47ee61c..bf0ca5f19e57 100644 --- a/sw/source/ui/frmdlg/column.cxx +++ b/sw/source/ui/frmdlg/column.cxx @@ -214,10 +214,16 @@ SwColumnDlg::SwColumnDlg(vcl::Window* pParent, SwWrtShell& rSh) SwColumnDlg::~SwColumnDlg() { + dispose(); +} + +void SwColumnDlg::dispose() +{ delete pTabPage; delete pPageSet; delete pSectionSet; delete pSelectionSet; + SfxModalDialog::dispose(); } IMPL_LINK(SwColumnDlg, ObjectHdl, ListBox*, pBox) @@ -542,7 +548,13 @@ SwColumnPage::SwColumnPage(vcl::Window *pParent, const SfxItemSet &rSet) SwColumnPage::~SwColumnPage() { + dispose(); +} + +void SwColumnPage::dispose() +{ delete pColMgr; + SfxTabPage::dispose(); } void SwColumnPage::SetPageWidth(long nPageWidth) |