summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/unocontrol.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-12 10:05:54 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-13 08:10:29 +0000
commit0f6725454823a5789f3e1c70dad024c46d3f6fc9 (patch)
tree370646f32cddb69aadf0d9659e90ed8600d43901 /toolkit/source/controls/unocontrol.cxx
parentf12b17867ef8fa2cfc2ddb7ecda9d7acc57cfa59 (diff)
clang-tidy modernize-loop-convert in toolkit to uui
Change-Id: I805aa1389ef8dde158f0b776d6b59579fa3082e4 Reviewed-on: https://gerrit.libreoffice.org/24921 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'toolkit/source/controls/unocontrol.cxx')
-rw-r--r--toolkit/source/controls/unocontrol.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/controls/unocontrol.cxx b/toolkit/source/controls/unocontrol.cxx
index 75959ed08cf9..adb398993403 100644
--- a/toolkit/source/controls/unocontrol.cxx
+++ b/toolkit/source/controls/unocontrol.cxx
@@ -586,9 +586,9 @@ void UnoControl::ImplModelPropertiesChanged( const Sequence< PropertyChangeEvent
while ( pLangDepProp->pPropName != nullptr )
{
bool bMustBeInserted( true );
- for ( size_t i = 0; i < aPeerPropertiesToSet.size(); i++ )
+ for (PropertyValue & i : aPeerPropertiesToSet)
{
- if ( aPeerPropertiesToSet[i].Name.equalsAsciiL(
+ if ( i.Name.equalsAsciiL(
pLangDepProp->pPropName, pLangDepProp->nPropNameLength ))
{
bMustBeInserted = false;