summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/sidebar/AlignmentPropertyPanel.cxx')
-rw-r--r--sc/source/ui/sidebar/AlignmentPropertyPanel.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
index e10b53830ffb..2cacee3f97f5 100644
--- a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
+++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx
@@ -68,6 +68,20 @@ AlignmentPropertyPanel::AlignmentPropertyPanel(
AlignmentPropertyPanel::~AlignmentPropertyPanel()
{
+ dispose();
+}
+
+void AlignmentPropertyPanel::dispose()
+{
+ mpFTLeftIndent.clear();
+ mpMFLeftIndent.clear();
+ mpCBXWrapText.clear();
+ mpCBXMergeCell.clear();
+ mpFtRotate.clear();
+ mpCtrlDial.clear();
+ mpMtrAngle.clear();
+ mpCbStacked.clear();
+ PanelLayout::dispose();
}
void AlignmentPropertyPanel::Initialize()