sc/source/core/data/table4.cxx | 2 -- 1 file changed, 2 deletions(-) New commits: commit 60fc8c31beae4e822601ab9e7ea1cb0191c6f66b Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Mar 28 17:08:46 2022 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Mon Mar 28 23:31:02 2022 +0200
-Werror,-Wunused-but-set-variable ...since 777e3930a1e85b9bc97c1852b09802fc389c5e2d "Move the code for "fill simple" to its own method." Change-Id: Iea240530696b89f56fba314b599e7cd43ce6a780 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132231 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sc/source/core/data/table4.cxx b/sc/source/core/data/table4.cxx index a3d49aa1c190..a67144253458 100644 --- a/sc/source/core/data/table4.cxx +++ b/sc/source/core/data/table4.cxx @@ -2217,7 +2217,6 @@ void ScTable::FillSeries( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, // Perform the fill once per each 'outer' position i.e. one per column // when filling vertically. - sal_uInt64 nActFormCnt = 0; for (rOuter = nOStart; rOuter <= nOEnd; rOuter++) { rInner = nISource; @@ -2511,7 +2510,6 @@ void ScTable::FillSeries( SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2, nProgress += nIMax - nIMin + 1; pProgress->SetStateOnPercent( nProgress ); } - ++nActFormCnt; } }