summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/MultiPropertySetHandler.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/chart/MultiPropertySetHandler.hxx')
-rw-r--r--xmloff/source/chart/MultiPropertySetHandler.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/chart/MultiPropertySetHandler.hxx b/xmloff/source/chart/MultiPropertySetHandler.hxx
index 5b70383ea6ab..85391f89e071 100644
--- a/xmloff/source/chart/MultiPropertySetHandler.hxx
+++ b/xmloff/source/chart/MultiPropertySetHandler.hxx
@@ -186,8 +186,8 @@ bool MultiPropertySetHandler::GetProperties()
{
css::uno::Sequence< OUString> aNameList (aPropertyList.size());
int i = 0;
- for (auto I=aPropertyList.begin(); I!=aPropertyList.end(); ++I)
- aNameList[i++] = I->second->msName;
+ for (const auto& rProperty : aPropertyList)
+ aNameList[i++] = rProperty.second->msName;
if ( ! MultiGet(aNameList))
if ( ! SingleGet(aNameList))
return false;
@@ -205,8 +205,8 @@ bool MultiPropertySetHandler::MultiGet (const css::uno::Sequence<
int i = 0;
css::uno::Sequence< css::uno::Any> aValueList =
xMultiSet->getPropertyValues (rNameList);
- for (auto I=aPropertyList.begin(); I!=aPropertyList.end(); ++I)
- I->second->SetValue (aValueList[i++]);
+ for (auto& rProperty : aPropertyList)
+ rProperty.second->SetValue (aValueList[i++]);
}
catch (const css::beans::UnknownPropertyException&)
{
@@ -227,8 +227,8 @@ bool MultiPropertySetHandler::SingleGet (const css::uno::Sequence<
try
{
int i = 0;
- for (auto I=aPropertyList.begin(); I!=aPropertyList.end(); ++I)
- I->second->SetValue (xSingleSet->getPropertyValue (rNameList[i++]));
+ for (auto& rProperty : aPropertyList)
+ rProperty.second->SetValue (xSingleSet->getPropertyValue (rNameList[i++]));
}
catch (const css::beans::UnknownPropertyException&)
{