[Libreoffice-commits] core.git: lotuswordpro/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Apr 6 15:22:25 UTC 2020
lotuswordpro/source/filter/lwprowlayout.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit fec598900ffe7ee7c55313ef0e258fb43fb36ef7
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Apr 6 15:21:12 2020 +0100
Commit: Caolán McNamara <caolanm at 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 <caolanm at 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();
More information about the Libreoffice-commits
mailing list