summaryrefslogtreecommitdiff
path: root/sd/source/ui/sidebar/PanelBase.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-26 13:20:10 +0200
committerMichael Meeks <michael.meeks@collabora.com>2015-04-09 21:55:41 +0100
commit0cef43d2e425895746392c6f503c660a7ca1241c (patch)
treec7e16b823eaab99379dbebc3347e7b2e3874be25 /sd/source/ui/sidebar/PanelBase.cxx
parente10b12842eb15b3b9bf577b4da036313fa830786 (diff)
vcl: VclPtr conversion in sd
Change-Id: I3cde57acfeec194968a639f8557b17177a94d37f
Diffstat (limited to 'sd/source/ui/sidebar/PanelBase.cxx')
-rw-r--r--sd/source/ui/sidebar/PanelBase.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sd/source/ui/sidebar/PanelBase.cxx b/sd/source/ui/sidebar/PanelBase.cxx
index 90c4a49a2907..3fa745103ab6 100644
--- a/sd/source/ui/sidebar/PanelBase.cxx
+++ b/sd/source/ui/sidebar/PanelBase.cxx
@@ -38,9 +38,15 @@ PanelBase::PanelBase (
PanelBase::~PanelBase (void)
{
+ dispose();
+}
+
+void PanelBase::dispose()
+{
OSL_TRACE("deleting wrapped control at %p", mpWrappedControl.get());
mpWrappedControl.reset();
OSL_TRACE("deleting PanelBase at %p from parent %p", this, GetParent());
+ Control::dispose();
}
void PanelBase::Dispose (void)