diff options
-rw-r--r-- | lotuswordpro/source/filter/lwprowlayout.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwprowlayout.cxx b/lotuswordpro/source/filter/lwprowlayout.cxx index 2cc3bd59bbf9..56ea0c98ce33 100644 --- a/lotuswordpro/source/filter/lwprowlayout.cxx +++ b/lotuswordpro/source/filter/lwprowlayout.cxx @@ -240,8 +240,8 @@ void LwpRowLayout::ConvertRow(rtl::Reference<XFTable> const & pXFTable,sal_uInt8 m_ConnCellList[nMarkConnCell]->GetColID()); //set all cell in this merge cell to cellsmap - for (sal_uInt16 nRowLoop = crowid;nRowLoop<nRowMark ;nRowLoop++) - for (sal_uInt8 nColLoop = i;nColLoop<nColID+1;nColLoop++) + for (sal_uInt16 nRowLoop = crowid; nRowLoop < nRowMark; nRowLoop++) + for (sal_uInt16 nColLoop = i; nColLoop < nColID+1; nColLoop++) pTableLayout->SetCellsMap(nRowLoop,nColLoop, xXFCell.get()); i += m_ConnCellList[nMarkConnCell]->GetNumcols(); |