summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg/tpcompatibility.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/optdlg/tpcompatibility.cxx')
-rw-r--r--sc/source/ui/optdlg/tpcompatibility.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sc/source/ui/optdlg/tpcompatibility.cxx b/sc/source/ui/optdlg/tpcompatibility.cxx
index 10dc87bc0a89..bb81ab2fa257 100644
--- a/sc/source/ui/optdlg/tpcompatibility.cxx
+++ b/sc/source/ui/optdlg/tpcompatibility.cxx
@@ -23,6 +23,13 @@ ScTpCompatOptions::ScTpCompatOptions(vcl::Window *pParent, const SfxItemSet &rCo
ScTpCompatOptions::~ScTpCompatOptions()
{
+ dispose();
+}
+
+void ScTpCompatOptions::dispose()
+{
+ m_pLbKeyBindings.clear();
+ SfxTabPage::dispose();
}
SfxTabPage* ScTpCompatOptions::Create(vcl::Window *pParent, const SfxItemSet *rCoreAttrs)