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.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/svx/source/sidebar/PanelLayout.cxx b/svx/source/sidebar/PanelLayout.cxx
index 829fd3b8afad..9a1f11fffa54 100644
--- a/svx/source/sidebar/PanelLayout.cxx
+++ b/svx/source/sidebar/PanelLayout.cxx
@@ -26,8 +26,15 @@ PanelLayout::PanelLayout(vcl::Window* pParent, const OString& rID, const OUStrin
PanelLayout::~PanelLayout()
{
+ disposeOnce();
+}
+
+void PanelLayout::dispose()
+{
m_bInClose = true;
m_aPanelLayoutIdle.Stop();
+ disposeBuilder();
+ Control::dispose();
}
Size PanelLayout::GetOptimalSize() const