diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-12 10:07:50 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-13 08:09:03 +0000 |
commit | 96fab0513215cc416e96e1b2089466afd0d2791c (patch) | |
tree | 7c03bd56b0c3744f0560c05ebb2f422155e64543 /writerfilter/source/dmapper/NumberingManager.cxx | |
parent | b3d5da663ff09c72455a8d3bf9be7c00220271bb (diff) |
clang-tidy modernize-loop-convert in writerfilter to xmlsecurity
Change-Id: I334411c6b57c028ffb41b5deb72002f9d54038c3
Reviewed-on: https://gerrit.libreoffice.org/24923
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'writerfilter/source/dmapper/NumberingManager.cxx')
-rw-r--r-- | writerfilter/source/dmapper/NumberingManager.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/dmapper/NumberingManager.cxx b/writerfilter/source/dmapper/NumberingManager.cxx index f3552ea1ef9b..0cbd6db7a704 100644 --- a/writerfilter/source/dmapper/NumberingManager.cxx +++ b/writerfilter/source/dmapper/NumberingManager.cxx @@ -306,8 +306,8 @@ uno::Sequence< beans::PropertyValue > ListLevel::GetLevelProperties( ) PROP_ADJUST, PROP_INDENT_AT, PROP_FIRST_LINE_INDENT, PROP_FIRST_LINE_OFFSET, PROP_LEFT_MARGIN }; - for(int i=0; i<nIds; ++i) { - boost::optional<PropertyMap::Property> aProp = getProperty(aReadIds[i]); + for(PropertyIds & rReadId : aReadIds) { + boost::optional<PropertyMap::Property> aProp = getProperty(rReadId); if (aProp) aNumberingProperties.push_back( beans::PropertyValue( getPropertyName(aProp->first), 0, aProp->second, beans::PropertyState_DIRECT_VALUE ) |