summaryrefslogtreecommitdiff
path: root/sc/source/ui/condformat/condformatmgr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/condformat/condformatmgr.cxx')
-rw-r--r--sc/source/ui/condformat/condformatmgr.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sc/source/ui/condformat/condformatmgr.cxx b/sc/source/ui/condformat/condformatmgr.cxx
index 2a6ff24bc5b3..bbdba3b5d7e1 100644
--- a/sc/source/ui/condformat/condformatmgr.cxx
+++ b/sc/source/ui/condformat/condformatmgr.cxx
@@ -133,8 +133,14 @@ ScCondFormatManagerDlg::ScCondFormatManagerDlg(vcl::Window* pParent, ScDocument*
ScCondFormatManagerDlg::~ScCondFormatManagerDlg()
{
+ dispose();
+}
+
+void ScCondFormatManagerDlg::dispose()
+{
delete m_pCtrlManager;
delete mpFormatList;
+ ModalDialog::dispose();
}