summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-07 13:47:21 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-07 13:48:10 +0100
commit8a55429fe99336922e2e4c530dc2139f435c6bb9 (patch)
treec65ab07a34c9ccecb34596ce560cb6b1125487bc /sw
parent4fb7331d83b73b975e730f534562252c7ace8937 (diff)
CID#1078702 keep coverity and nesting test happy
Change-Id: I9408cbf16493f0287b7f123694eafc56e1afd556
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/doc/gctable.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/doc/gctable.cxx b/sw/source/core/doc/gctable.cxx
index 8225fd2f2ad3..4a04e8529b9a 100644
--- a/sw/source/core/doc/gctable.cxx
+++ b/sw/source/core/doc/gctable.cxx
@@ -85,8 +85,10 @@ static void lcl_GCBorder_GetLastBox_B( const SwTableBox* pBox, SwTableBoxes* pPa
{
const SwTableLines& rLines = pBox->GetTabLines();
if( !rLines.empty() )
+ {
BOOST_FOREACH( const SwTableLine* pLine, rLines )
lcl_GCBorder_GetLastBox_L( pLine, pPara );
+ }
else
pPara->push_back( (SwTableBox*)pBox );
}