summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/dbfindex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/dlg/dbfindex.cxx')
-rw-r--r--dbaccess/source/ui/dlg/dbfindex.cxx19
1 files changed, 19 insertions, 0 deletions
diff --git a/dbaccess/source/ui/dlg/dbfindex.cxx b/dbaccess/source/ui/dlg/dbfindex.cxx
index 1493734256b1..223f5a167cb4 100644
--- a/dbaccess/source/ui/dlg/dbfindex.cxx
+++ b/dbaccess/source/ui/dlg/dbfindex.cxx
@@ -76,6 +76,25 @@ ODbaseIndexDialog::ODbaseIndexDialog(vcl::Window * pParent, const OUString& aDat
SetCtrls();
}
+ODbaseIndexDialog::~ODbaseIndexDialog()
+{
+ dispose();
+}
+
+void ODbaseIndexDialog::dispose()
+{
+ m_pPB_OK.clear();
+ m_pCB_Tables.clear();
+ m_pIndexes.clear();
+ m_pLB_TableIndexes.clear();
+ m_pLB_FreeIndexes.clear();
+ m_pAdd.clear();
+ m_pRemove.clear();
+ m_pAddAll.clear();
+ m_pRemoveAll.clear();
+ ModalDialog::dispose();
+}
+
bool ODbaseIndexDialog::GetTable(const OUString& _rName, TableInfoList::iterator& _rPosition)
{
for ( _rPosition = m_aTableInfoList.begin();