summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
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 );
}