summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-04-06 15:21:12 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-04-06 17:21:43 +0200
commitfec598900ffe7ee7c55313ef0e258fb43fb36ef7 (patch)
tree87594c2964b1cb4248fc6a8ac34246a515647ac2 /lotuswordpro
parent9459c2738fd1c2e0a683cb7e314e8ee648b4ca06 (diff)
ofz#21164 infinite loop
Change-Id: Id6838a3e4223885d766839759b711bb345a840f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91758 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwprowlayout.cxx4
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();