diff options
Diffstat (limited to 'configmgr/source/writemodfile.cxx')
-rw-r--r-- | configmgr/source/writemodfile.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/configmgr/source/writemodfile.cxx b/configmgr/source/writemodfile.cxx index d04818ecae88..1d20c189c462 100644 --- a/configmgr/source/writemodfile.cxx +++ b/configmgr/source/writemodfile.cxx @@ -459,13 +459,11 @@ void writeModifications( OUString pathRep( parentPathRepresentation + "/" + Data::createSegment(node->getTemplateName(), nodeName)); - for (Modifications::Node::Children::const_iterator i( - modifications.children.begin()); - i != modifications.children.end(); ++i) + for (const auto & i : modifications.children) { writeModifications( - components, handle, pathRep, node, i->first, - node->getMember(i->first), i->second); + components, handle, pathRep, node, i.first, + node->getMember(i.first), i.second); } } } |