summaryrefslogtreecommitdiff
path: root/cui/source/customize/eventdlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-15 15:47:39 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-09 21:30:12 +0100
commitebd195b2ae254bfc9b52c9c673a57cd3bdf0cad8 (patch)
treedd113b2ff1e58e14d36a1aad5cd96beea0d3476a /cui/source/customize/eventdlg.cxx
parent0a61ce1c8e61cb45478ba6f28e8fdd71ce369f2c (diff)
vcl: VclPtr conversion in cui
Change-Id: I8597247296645fe72d5306e35b2ea3c0866d147a
Diffstat (limited to 'cui/source/customize/eventdlg.cxx')
-rw-r--r--cui/source/customize/eventdlg.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/cui/source/customize/eventdlg.cxx b/cui/source/customize/eventdlg.cxx
index e466d526a747..79453fc1848d 100644
--- a/cui/source/customize/eventdlg.cxx
+++ b/cui/source/customize/eventdlg.cxx
@@ -103,6 +103,11 @@ void SvxEventConfigPage::LateInit( const uno::Reference< frame::XFrame >& _rxFra
SvxEventConfigPage::~SvxEventConfigPage()
{
+ dispose();
+}
+
+void SvxEventConfigPage::dispose()
+{
// need to delete the user data
SvHeaderTabListBox& rListBox = mpImpl->pEventLB->GetListBox();
SvTreeListEntry* pE = rListBox.GetEntry( 0 );
@@ -113,6 +118,7 @@ SvxEventConfigPage::~SvxEventConfigPage()
pE->SetUserData((void*)0);
pE = SvTreeListBox::NextSibling( pE );
}
+ _SvxMacroTabPage::dispose();
}
void SvxEventConfigPage::ImplInitDocument()