summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-07 13:49:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-07 13:49:30 +0100
commitc75670498b113dcd01adf64266a86575fcbb877b (patch)
tree4ea28441c9742049a1b7a6170d4af09385fd2d68
parentf713b7271a5e5dbf5baa3203ade8a87fb2681977 (diff)
CID#1078700 keep coverity and nesting test happy
Change-Id: I313e76a480cd734d1e950e811bb02dd1280a143c
-rw-r--r--sw/source/core/docnode/ndtbl.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index a2232846f71c..b3f59122b0da 100644
--- a/sw/source/core/docnode/ndtbl.cxx
+++ b/sw/source/core/docnode/ndtbl.cxx
@@ -1493,8 +1493,10 @@ static void lcl_DelBox( SwTableBox* pBox, _DelTabPara* pDelPara )
// Delete the Box's Lines
if( !pBox->GetTabLines().empty() )
+ {
BOOST_FOREACH( SwTableLine* pLine, pBox->GetTabLines() )
lcl_DelLine( pLine, pDelPara );
+ }
else
{
SwDoc* pDoc = pDelPara->rNds.GetDoc();