summaryrefslogtreecommitdiff
path: root/dbaccess/source/core/api/columnsettings.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/core/api/columnsettings.cxx')
-rw-r--r--dbaccess/source/core/api/columnsettings.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/core/api/columnsettings.cxx b/dbaccess/source/core/api/columnsettings.cxx
index 7449c320500f..860ed7d36617 100644
--- a/dbaccess/source/core/api/columnsettings.cxx
+++ b/dbaccess/source/core/api/columnsettings.cxx
@@ -132,10 +132,10 @@ namespace dbaccess
{ OUString(PROPERTY_HIDDEN), PROPERTY_ID_HIDDEN }
};
- for ( size_t i=0; i < SAL_N_ELEMENTS( aProps ); ++i )
+ for (const auto & aProp : aProps)
{
- if ( xPSI->hasPropertyByName( aProps[i].sName ) )
- if ( !isDefaulted( aProps[i].nHandle, _rxColumn->getPropertyValue( aProps[i].sName ) ) )
+ if ( xPSI->hasPropertyByName( aProp.sName ) )
+ if ( !isDefaulted( aProp.nHandle, _rxColumn->getPropertyValue( aProp.sName ) ) )
return false;
}
}