sc/source/core/tool/interpr5.cxx | 2 +- sc/source/ui/navipi/navipi.cxx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-)
New commits: commit 8ae2584165fbb3cfc6874d9c1dabe01fbee71470 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Tue Feb 18 08:27:57 2025 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue Feb 18 11:43:22 2025 +0100 cid#1642990 Useless call noticeable since since: commit 70ffc422e515ca2ccea68de2c5bc4bf09cebf500 Commit: Michael Weghorn <m.wegh...@posteo.de> sc: Don't modify string passed to NumToAlpha/AlphaToNum Change-Id: Ie4c84430b7b4a9c77367af4e2f1ce4efcc6b4f33 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181817 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sc/source/ui/navipi/navipi.cxx b/sc/source/ui/navipi/navipi.cxx index 247355551fc7..dd3727ac8fc6 100644 --- a/sc/source/ui/navipi/navipi.cxx +++ b/sc/source/ui/navipi/navipi.cxx @@ -100,7 +100,6 @@ namespace (nColumn > SCNAV_MAXCOL(rDoc.GetSheetLimits())) ) { nColumn = SCNAV_MAXCOL(rDoc.GetSheetLimits()); - NumToAlpha( rDoc.GetSheetLimits(), nColumn); } } commit 53635086f19cf3060de2efdbdabdf9505743f36c Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Tue Feb 18 08:23:59 2025 +0000 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Tue Feb 18 11:43:16 2025 +0100 cid#1642991 Overflowed constant Change-Id: Ife6797f7850d84cdb30a0b0074a15dbf25d5c7e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181816 Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com> Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sc/source/core/tool/interpr5.cxx b/sc/source/core/tool/interpr5.cxx index 671fdaf0be1e..ba5592a935a0 100644 --- a/sc/source/core/tool/interpr5.cxx +++ b/sc/source/core/tool/interpr5.cxx @@ -1152,7 +1152,7 @@ void ScInterpreter::ScMatSequence() return; } - size_t nMatrixSize = nColumns * nRows; + size_t nMatrixSize = static_cast<size_t>(nColumns) * nRows; ScMatrixRef pResMat = GetNewMat(nColumns, nRows, /*bEmpty*/true); for (size_t iPos = 0; iPos < nMatrixSize; iPos++) {