lotuswordpro/source/filter/lwprowlayout.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fec598900ffe7ee7c55313ef0e258fb43fb36ef7
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Apr 6 15:21:12 2020 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Apr 6 17:21:43 2020 +0200

    ofz#21164 infinite loop
    
    Change-Id: Id6838a3e4223885d766839759b711bb345a840f5
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91758
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

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();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to