summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/grid
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:13:22 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:13:22 +0100
commit75ca2d04abc96f88ee63852e070f84984f27ad3f (patch)
tree39be302f78a5c274df2d721cb1a3072644e7a964 /toolkit/source/controls/grid
parent8456c2ba408b3bed160d3e5f050738301b225bd5 (diff)
More loplugin:cstylecast: toolkit
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: Iaee0fee0cbc6e5311342b83d847cb89bd1056973
Diffstat (limited to 'toolkit/source/controls/grid')
-rw-r--r--toolkit/source/controls/grid/defaultgridcolumnmodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
index 7ece076514cb..4fb3025032d9 100644
--- a/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
+++ b/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
@@ -231,7 +231,7 @@ private:
{
::comphelper::ComponentGuard aGuard( *this, rBHelper );
- if ( index >=0 && index < ((sal_Int32)m_aColumns.size()))
+ if ( index >=0 && index < static_cast<sal_Int32>(m_aColumns.size()))
return m_aColumns[index];
throw css::lang::IndexOutOfBoundsException();