summaryrefslogtreecommitdiff
path: root/svx/source/form/fmobjfac.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/fmobjfac.cxx')
-rw-r--r--svx/source/form/fmobjfac.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/svx/source/form/fmobjfac.cxx b/svx/source/form/fmobjfac.cxx
index 4eea3c8761e2..b698d43fd053 100644
--- a/svx/source/form/fmobjfac.cxx
+++ b/svx/source/form/fmobjfac.cxx
@@ -217,15 +217,12 @@ IMPL_STATIC_LINK(FmFormObjFactory, MakeObject, SdrObjCreatorParams, aParams, Sdr
pNewObj = new FmFormObj(aParams.rSdrModel);
// initialize some properties which we want to differ from the defaults
- for ( PropertyValueArray::const_iterator aInitProp = aInitialProperties.begin();
- aInitProp != aInitialProperties.end();
- ++aInitProp
- )
+ for (const auto& rInitProp : aInitialProperties)
{
lcl_initProperty(
static_cast< FmFormObj* >( pNewObj ),
- aInitProp->first,
- aInitProp->second
+ rInitProp.first,
+ rInitProp.second
);
}
}