diff options
Diffstat (limited to 'sw/source/ui/fldui/changedb.cxx')
-rw-r--r-- | sw/source/ui/fldui/changedb.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sw/source/ui/fldui/changedb.cxx b/sw/source/ui/fldui/changedb.cxx index d5a171d3b0af..b94c049dd59f 100644 --- a/sw/source/ui/fldui/changedb.cxx +++ b/sw/source/ui/fldui/changedb.cxx @@ -164,8 +164,20 @@ SvTreeListEntry* SwChangeDBDlg::Insert(const OUString& rDBName) // destroy dialog SwChangeDBDlg::~SwChangeDBDlg() { + disposeOnce(); +} + +void SwChangeDBDlg::dispose() +{ delete pMgr; + m_pUsedDBTLB.clear(); + m_pAvailDBTLB.clear(); + m_pAddDBPB.clear(); + m_pDocDBNameFT.clear(); + m_pDefineBT.clear(); + SvxStandardDialog::dispose(); } + // close void SwChangeDBDlg::Apply() { |