diff options
Diffstat (limited to 'sw/source/filter/html/htmltab.cxx')
-rw-r--r-- | sw/source/filter/html/htmltab.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sw/source/filter/html/htmltab.cxx b/sw/source/filter/html/htmltab.cxx index d04ae9d3d523..7ff16864141a 100644 --- a/sw/source/filter/html/htmltab.cxx +++ b/sw/source/filter/html/htmltab.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: htmltab.cxx,v $ - * $Revision: 1.28 $ + * $Revision: 1.28.186.1 $ * * This file is part of OpenOffice.org. * @@ -1820,8 +1820,10 @@ SwTableLine *HTMLTable::MakeTableLine( SwTableBox *pUpper, pCnts->CreateLayoutInfo(); pCell2->SetContents( pCnts ); - pLayoutInfo->GetCell( nTopRow, nStartCol ) - ->SetContents( pCntsLayoutInfo ); + SwHTMLTableLayoutCell *pCurrCell = pLayoutInfo->GetCell( nTopRow, nStartCol ); + pCurrCell->SetContents( pCntsLayoutInfo ); + if( nBoxRowSpan < 0 ) + pCurrCell->SetRowSpan( 0 ); // ggf. COLSPAN beachten for( sal_uInt16 j=nStartCol+1; j<nSplitCol; j++ ) |