summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorJian Fang Zhang <zhangjf@apache.org>2012-09-04 01:05:22 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-05-28 11:49:31 +0100
commitb4311a2871e16001138e6d0009a552dc53d7bcd3 (patch)
treec32dcd1a71828381bfb1c1e416e9cef42ed8a969 /sw/source
parent5e0733e904d25b45a08fd410c0f94b196322cf94 (diff)
Resolves: #i113600# Add call to subtable SwXMLTableRow_Impl.dispose()...
to break cycle reference to SwXMLTableContext object Found by: zhangjf Patch by: zhangjf (cherry picked from commit ba47a717e009b2b497cbccfca2872e66f9ecb130) Change-Id: Iba0b581920417b3866b07542621d56ccdc272261 (cherry picked from commit fc08fc98655397103ce7aacc18c2aa538ccff4e1)
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/filter/xml/xmltbli.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/filter/xml/xmltbli.cxx b/sw/source/filter/xml/xmltbli.cxx
index 617faf410b2f..dd8b358d2c28 100644
--- a/sw/source/filter/xml/xmltbli.cxx
+++ b/sw/source/filter/xml/xmltbli.cxx
@@ -2867,6 +2867,9 @@ void SwXMLTableContext::MakeTable( SwTableBox *pBox, sal_Int32 nW )
bRelWidth = GetParentTable()->bRelWidth;
_MakeTable( pBox );
+
+ for (size_t i=0; i < pRows->size(); ++i) // i113600, to break the cyclic reference to SwXMLTableContext object
+ (*pRows)[i].Dispose();
}
const SwStartNode *SwXMLTableContext::InsertTableSection(