summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-07-09 16:07:49 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-07-09 15:48:39 +0000
commitb54f22302731784d7bd462bf2cef0621eea8b22a (patch)
tree02184d96af22178a52dbed223439611cbad80af4
parent74407aef94b6d8dfdd69891c4a6e578587ef3e71 (diff)
tdf#92434 - dispose the table contents.
fix issue from: 6d0c89123f353aed80d3a8a08ef5cd1ffaa1eea9 Change-Id: Ia5b7bb91c366ecbbb3111d6f5239d5360640ca2d Reviewed-on: https://gerrit.libreoffice.org/16893 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
-rw-r--r--dbaccess/source/ui/querydesign/JoinTableView.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx
index 1586cd9a7688..58973fc9863e 100644
--- a/dbaccess/source/ui/querydesign/JoinTableView.cxx
+++ b/dbaccess/source/ui/querydesign/JoinTableView.cxx
@@ -1537,7 +1537,7 @@ void OJoinTableView::clearLayoutInformation()
{
if ( aIter->second )
aIter->second->clearListBox();
- aIter->second = NULL;
+ aIter->second.disposeAndClear();
}
m_aTableMap.clear();