incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhan...@apache.org
Subject svn commit: r1380421 - /incubator/ooo/trunk/main/sw/source/filter/xml/xmltbli.cxx
Date Tue, 04 Sep 2012 02:05:23 GMT
Author: zhangjf
Date: Tue Sep  4 02:05:22 2012
New Revision: 1380421

URL: http://svn.apache.org/viewvc?rev=1380421&view=rev
Log:
#i113600#, Add call to subtable SwXMLTableRow_Impl.dispose() to break cycle reference to SwXMLTableContext
object 

Found by: zhangjf 
Patch by: zhangjf

Modified:
    incubator/ooo/trunk/main/sw/source/filter/xml/xmltbli.cxx

Modified: incubator/ooo/trunk/main/sw/source/filter/xml/xmltbli.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/source/filter/xml/xmltbli.cxx?rev=1380421&r1=1380420&r2=1380421&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sw/source/filter/xml/xmltbli.cxx (original)
+++ incubator/ooo/trunk/main/sw/source/filter/xml/xmltbli.cxx Tue Sep  4 02:05:22 2012
@@ -2862,6 +2862,9 @@ void SwXMLTableContext::MakeTable( SwTab
 	bRelWidth = GetParentTable()->bRelWidth;
 
 	_MakeTable( pBox );
+	
+	for( sal_uInt16 i=0; i<pRows->Count(); i++ ) // i113600, to break the cyclic reference
to SwXMLTableContext object
+		(*pRows)[i]->Dispose();
 }
 
 const SwStartNode *SwXMLTableContext::InsertTableSection(



Mime
View raw message