[Libreoffice-commits] core.git: dbaccess/source

Michael Meeks michael.meeks at collabora.com
Thu Jul 9 08:49:15 PDT 2015


 dbaccess/source/ui/querydesign/JoinTableView.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b54f22302731784d7bd462bf2cef0621eea8b22a
Author: Michael Meeks <michael.meeks at collabora.com>
Date:   Thu Jul 9 16:07:49 2015 +0100

    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 at collabora.com>
    Tested-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/dbaccess/source/ui/querydesign/JoinTableView.cxx b/dbaccess/source/ui/querydesign/JoinTableView.cxx
index 1586cd9..58973fc 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();


More information about the Libreoffice-commits mailing list