diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2018-03-30 22:14:59 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2018-03-31 08:17:08 +0200 |
commit | 22b061267efe28f3611fd38534a59e8d74bf1e77 (patch) | |
tree | 0834e3495a482d690f5878547637866dd04ea63d /oox/source/drawingml/effectproperties.cxx | |
parent | 3d3c5e333144670daba57f9bbb5dcf4d9d9c147f (diff) |
Use for-range loops in oox (part1)
Change-Id: I3b8b3cdc818509598bc766f7eed27454c74c4e2d
Reviewed-on: https://gerrit.libreoffice.org/52175
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'oox/source/drawingml/effectproperties.cxx')
-rw-r--r-- | oox/source/drawingml/effectproperties.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/oox/source/drawingml/effectproperties.cxx b/oox/source/drawingml/effectproperties.cxx index 602f6911a5e4..49f1d915a11c 100644 --- a/oox/source/drawingml/effectproperties.cxx +++ b/oox/source/drawingml/effectproperties.cxx @@ -80,10 +80,10 @@ css::beans::PropertyValue Effect::getEffect() css::uno::Sequence< css::beans::PropertyValue > aSeq( maAttribs.size() ); sal_uInt32 i = 0; - for( std::map< OUString, css::uno::Any >::iterator it = maAttribs.begin(); it != maAttribs.end(); ++it ) + for (auto const& attrib : maAttribs) { - aSeq[i].Name = it->first; - aSeq[i].Value = it->second; + aSeq[i].Name = attrib.first; + aSeq[i].Value = attrib.second; i++; } |