summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-01-25 13:42:49 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-01-25 17:23:27 +0100
commite66496cb010956f1fbc847cc66f1e0b83d2d4836 (patch)
tree38f2c41602b3607ca1f4a20b0a3b107d8588ab5e /svtools
parenta6192281a04c20bc57b1ffa4f6645ca639d5b1a4 (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/table/tablecontrol_impl.cxx4
1 files changed, 2 insertions, 2 deletions
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;
}