summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/controls/grid/defaultgridcolumnmodel.cxx')
-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();