sc/source/ui/unoobj/chart2uno.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 644f1451abf66085717feafdfd40012b14e722a4 Author: Caolán McNamara <caol...@redhat.com> Date: Fri Nov 24 16:42:12 2017 +0000 coverity#1422232 Improper use of negative value Change-Id: I79b24e175906ca5552f45b6af472c436ffde5fe3 Reviewed-on: https://gerrit.libreoffice.org/45247 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Eike Rathke <er...@redhat.com> diff --git a/sc/source/ui/unoobj/chart2uno.cxx b/sc/source/ui/unoobj/chart2uno.cxx index ffea02a88546..71c3c96f83c0 100644 --- a/sc/source/ui/unoobj/chart2uno.cxx +++ b/sc/source/ui/unoobj/chart2uno.cxx @@ -752,7 +752,7 @@ void Chart2Positioner::createPositionMap() else pCol = it->second; - sal_uInt32 nInsRow = static_cast<sal_uInt32>(bNoGlue ? nNoGlueRow : nRow1); + auto nInsRow = bNoGlue ? nNoGlueRow : nRow1; for (SCROW nRow = nRow1; nRow <= nRow2; ++nRow, ++nInsRow) { ScSingleRefData aCellData;
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits