[Libreoffice-commits] core.git: lotuswordpro/qa lotuswordpro/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Aug 28 08:52:35 UTC 2021


 lotuswordpro/qa/cppunit/data/fail/ofz26357-1.lwp |binary
 lotuswordpro/source/filter/lwprowlayout.cxx      |    2 +-
 2 files changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bd555ee0ebc94bfffa41ac5d5eede580f330a7f7
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Aug 27 20:30:37 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Aug 28 10:52:00 2021 +0200

    ofz#26357 Infinite loop
    
    Change-Id: I914d5c8e53e226567f48b084b1cdb55721a58359
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121182
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/lotuswordpro/qa/cppunit/data/fail/ofz26357-1.lwp b/lotuswordpro/qa/cppunit/data/fail/ofz26357-1.lwp
new file mode 100644
index 000000000000..4c087b6dfadb
Binary files /dev/null and b/lotuswordpro/qa/cppunit/data/fail/ofz26357-1.lwp differ
diff --git a/lotuswordpro/source/filter/lwprowlayout.cxx b/lotuswordpro/source/filter/lwprowlayout.cxx
index 9590e41d9670..e37086960e2c 100644
--- a/lotuswordpro/source/filter/lwprowlayout.cxx
+++ b/lotuswordpro/source/filter/lwprowlayout.cxx
@@ -384,7 +384,7 @@ void LwpRowLayout::ConvertCommonRow(rtl::Reference<XFTable> const & pXFTable, sa
 
     sal_uInt8 nCellStartCol,nCellEndCol;
 
-    for (sal_uInt8 i = nStartCol; i < nEndCol ; i++)
+    for (sal_uInt16 i = nStartCol; i < nEndCol; i++)
     {
         // add row to table
         LwpObjectID *pCellID= &GetChildHead();


More information about the Libreoffice-commits mailing list