From ba47a717e009b2b497cbccfca2872e66f9ecb130 Mon Sep 17 00:00:00 2001 From: Jian Fang Zhang Date: Tue, 4 Sep 2012 01:05:22 +0000 Subject: #i113600#, Add call to subtable SwXMLTableRow_Impl.dispose() to break cycle reference to SwXMLTableContext object Found by: zhangjf Patch by: zhangjf --- sw/source/filter/xml/xmltbli.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx index 28828742216a..1421b77db3e6 100644 --- a/sw/source/filter/xml/xmltbli.cxx +++ b/sw/source/filter/xml/xmltbli.cxx @@ -2862,6 +2862,9 @@ void SwXMLTableContext::MakeTable( SwTableBox *pBox, sal_Int32 nW ) bRelWidth = GetParentTable()->bRelWidth; _MakeTable( pBox ); + + for( sal_uInt16 i=0; iCount(); i++ ) // i113600, to break the cyclic reference to SwXMLTableContext object + (*pRows)[i]->Dispose(); } const SwStartNode *SwXMLTableContext::InsertTableSection( -- cgit v1.2.3