svtools/source/table/tablecontrol_impl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit e66496cb010956f1fbc847cc66f1e0b83d2d4836 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Sat Jan 25 13:42:49 2020 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Sat Jan 25 17:23:27 2020 +0100 Use properly typed vars for iteration Change-Id: Idf97b89131891fa8c2769dd032dd5b9337a3246c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87397 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/svtools/source/table/tablecontrol_impl.cxx b/svtools/source/table/tablecontrol_impl.cxx index d413f9e28b69..f2a7a3f8d856 100644 --- a/svtools/source/table/tablecontrol_impl.cxx +++ b/svtools/source/table/tablecontrol_impl.cxx @@ -789,7 +789,7 @@ namespace svt { namespace table { // ... but the column's maximal widths are still less than we have // => set them all to max - for ( size_t i = 0; i < size_t( colCount ); ++i ) + for ( svt::table::TableSize i = 0; i < colCount; ++i ) { o_newColWidthsPixel[i] = effectiveColumnLimits[i].second; } @@ -866,7 +866,7 @@ namespace svt { namespace table { // ... but the column's minimal widths are still more than we have // => set them all to min - for ( size_t i = 0; i < size_t( colCount ); ++i ) + for ( svt::table::TableSize i = 0; i < colCount; ++i ) { o_newColWidthsPixel[i] = effectiveColumnLimits[i].first; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits