summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/PanelLayout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/sidebar/PanelLayout.cxx')
-rw-r--r--svx/source/sidebar/PanelLayout.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/svx/source/sidebar/PanelLayout.cxx b/svx/source/sidebar/PanelLayout.cxx
index 829fd3b8afad..23934f6228f2 100644
--- a/svx/source/sidebar/PanelLayout.cxx
+++ b/svx/source/sidebar/PanelLayout.cxx
@@ -26,8 +26,14 @@ PanelLayout::PanelLayout(vcl::Window* pParent, const OString& rID, const OUStrin
PanelLayout::~PanelLayout()
{
+ dispose();
+}
+
+void PanelLayout::dispose()
+{
m_bInClose = true;
m_aPanelLayoutIdle.Stop();
+ Control::dispose();
}
Size PanelLayout::GetOptimalSize() const