sw/source/core/unocore/XMLRangeHelper.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit d9fb812635063bdc8dc7fd8b84831d1f0ebd5dd9
Author:     Stephan Bergmann <stephan.bergm...@collabora.com>
AuthorDate: Mon Jul 21 20:05:41 2025 +0200
Commit:     Stephan Bergmann <stephan.bergm...@collabora.com>
CommitDate: Tue Jul 22 08:44:39 2025 +0200

    -Werror=unused-but-set-variable= (with recent GCC 16 trunk)
    
    ...seemingly ever since 3f084c9bd2a57099b6c88899807e5ad83d3a8d11 
"INTEGRATION:
    CWS chart2mst3 (1.1.2); FILE ADDED"
    
    Change-Id: I5fc9fa1b369174e3e28622f4a68bac48a967ed67
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188123
    Reviewed-by: Stephan Bergmann <stephan.bergm...@collabora.com>
    Tested-by: Jenkins

diff --git a/sw/source/core/unocore/XMLRangeHelper.cxx 
b/sw/source/core/unocore/XMLRangeHelper.cxx
index f8a49d6041ac..3c52c6a977fa 100644
--- a/sw/source/core/unocore/XMLRangeHelper.cxx
+++ b/sw/source/core/unocore/XMLRangeHelper.cxx
@@ -304,9 +304,7 @@ CellRange getCellRangeFromXMLString( const OUString & 
rXMLString )
     CellRange aResult;
 
     // iterate over different ranges
-    for( sal_Int32 i = 0;
-         nEndPos < nLength;
-         nStartPos = ++nEndPos, i++ )
+    for( ; nEndPos < nLength; )
     {
         // find start point of next range
 

Reply via email to