sw/source/core/text/frmcrsr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0b425ad0247d09466f26398c717d9b3c8beee69e
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Thu Nov 28 13:00:38 2024 +0000
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Fri Nov 29 11:34:33 2024 +0100

    cid#1634810 Overflowed constant
    
    Change-Id: I634a88af23116fd823b9b595cdb801a032593688
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177518
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/sw/source/core/text/frmcrsr.cxx b/sw/source/core/text/frmcrsr.cxx
index e80a0b354f16..a2545c300abf 100644
--- a/sw/source/core/text/frmcrsr.cxx
+++ b/sw/source/core/text/frmcrsr.cxx
@@ -1562,8 +1562,8 @@ void SwTextFrame::FillCursorPos( SwFillData& rFill ) const
                     SwTwips nRightTab = nLeft;
                     sal_uInt16 nSpaceCnt = 0;
                     sal_uInt16 nSpaceOnlyCnt = 0;
-                    sal_uInt16 nTabCnt = 0;
                     sal_uInt16 nIdx = 0;
+                    int nTabCnt = 0;
                     do
                     {
                         nLeftTab = nRightTab;

Reply via email to