sw/source/core/layout/paintfrm.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 574874a554531363f379cba39a4685cdeb0e4806
Author:     Noel Grandin <noelgran...@gmail.com>
AuthorDate: Sat Oct 12 19:00:49 2024 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Mon Oct 14 14:21:06 2024 +0200

    cid#1606629 Overflowed constant
    
    Change-Id: Id0438b5ae8abdba4d9a87584f9586b8a53852ac6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174852
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/sw/source/core/layout/paintfrm.cxx 
b/sw/source/core/layout/paintfrm.cxx
index 460a56767df4..f18503ff07a7 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -741,6 +741,7 @@ void SwLineRects::ConnectEdges( OutputDevice const *pOut, 
SwPaintProperties cons
                                                       SubColFlags::Tab);
                             if ( isFull() )
                             {
+                                assert(i > 0);
                                 --i;
                                 k = aCheck.size();
                                 break;

Reply via email to