summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/dlg_ChartType.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/dialogs/dlg_ChartType.cxx')
-rw-r--r--chart2/source/controller/dialogs/dlg_ChartType.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/chart2/source/controller/dialogs/dlg_ChartType.cxx b/chart2/source/controller/dialogs/dlg_ChartType.cxx
index 30d03d140def..9ef9432ded04 100644
--- a/chart2/source/controller/dialogs/dlg_ChartType.cxx
+++ b/chart2/source/controller/dialogs/dlg_ChartType.cxx
@@ -55,7 +55,13 @@ ChartTypeDialog::ChartTypeDialog( vcl::Window* pParent
ChartTypeDialog::~ChartTypeDialog()
{
+ dispose();
+}
+
+void ChartTypeDialog::dispose()
+{
delete m_pChartTypeTabPage;
+ ModalDialog::dispose();
}
} //namespace chart