summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8par3.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-11 09:53:50 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-12 07:12:44 +0000
commitb415494bf0468b74318b61f114e2ff4ae68c00ee (patch)
tree432f9397ecf4c410e4e9767f433c60e4dc0b0087 /sw/source/filter/ww8/ww8par3.cxx
parent875984617cfd6c773eb93f339929eb3fabd3e97b (diff)
clang-tidy modernize-loop-convert in sw
Change-Id: I1f4a0ad6658bd3154c48940296aa8edc1ea1612c Reviewed-on: https://gerrit.libreoffice.org/24876 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/filter/ww8/ww8par3.cxx')
-rw-r--r--sw/source/filter/ww8/ww8par3.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx
index efc41222338c..7b0d024df430 100644
--- a/sw/source/filter/ww8/ww8par3.cxx
+++ b/sw/source/filter/ww8/ww8par3.cxx
@@ -1192,8 +1192,8 @@ WW8ListManager::WW8ListManager(SvStream& rSt_, SwWW8ImplReader& rReader_)
rSt.ReadUInt32( aLST.nIdLst );
rSt.ReadUInt32( aLST.nTplC );
- for (sal_uInt16 nLevel = 0; nLevel < nMaxLevel; ++nLevel)
- rSt.ReadUInt16( aLST.aIdSty[ nLevel ] );
+ for (sal_uInt16 & nLevel : aLST.aIdSty)
+ rSt.ReadUInt16( nLevel );
sal_uInt8 aBits1(0);
rSt.ReadUChar( aBits1 );