diff options
Diffstat (limited to 'xmloff/source/text/XMLPropertyBackpatcher.cxx')
-rw-r--r-- | xmloff/source/text/XMLPropertyBackpatcher.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmloff/source/text/XMLPropertyBackpatcher.cxx b/xmloff/source/text/XMLPropertyBackpatcher.cxx index 76f413a8a642..52b900acf808 100644 --- a/xmloff/source/text/XMLPropertyBackpatcher.cxx +++ b/xmloff/source/text/XMLPropertyBackpatcher.cxx @@ -67,11 +67,9 @@ void XMLPropertyBackpatcher<A>::ResolveId( // (and preserve Property, if appropriate) Any aAny; aAny <<= aValue; - for(BackpatchListType::iterator aIter = pList->begin(); - aIter != pList->end(); - ++aIter) + for(auto& rBackpatch : *pList) { - (*aIter)->setPropertyValue(sPropertyName, aAny); + rBackpatch->setPropertyValue(sPropertyName, aAny); } // c) delete list |