summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlimppr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/xmlimppr.cxx')
-rw-r--r--xmloff/source/style/xmlimppr.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/xmloff/source/style/xmlimppr.cxx b/xmloff/source/style/xmlimppr.cxx
index 4e9a28ea42e6..8ebaa88d3fde 100644
--- a/xmloff/source/style/xmlimppr.cxx
+++ b/xmloff/source/style/xmlimppr.cxx
@@ -627,12 +627,10 @@ void SvXMLImportPropertyMapper::PrepareForMultiPropertySet_(
// copy values into sequences
i = 0;
- for( PropertyPairs::iterator aIter = aPropertyPairs.begin();
- aIter != aPropertyPairs.end();
- ++aIter )
+ for( const auto& rPropertyPair : aPropertyPairs )
{
- pNamesArray[i] = *(aIter->first);
- pValuesArray[i++] = *(aIter->second);
+ pNamesArray[i] = *(rPropertyPair.first);
+ pValuesArray[i++] = *(rPropertyPair.second);
}
}