diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-26 10:40:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-26 10:40:59 +0100 |
commit | 58f5f3b10783185d761065582b1aa18736198e39 (patch) | |
tree | 3a2a20913b5317ff4fa5953ea0e950be0ba0e598 | |
parent | 9c0def7a18f827cf58e28127309227177b1f42f0 (diff) |
WaE: -Werror=shadow
Change-Id: Ia29ebbddd5c88b8f3bd033a97dfd69a7705b87b8
-rw-r--r-- | sw/source/core/tox/tox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/tox/tox.cxx b/sw/source/core/tox/tox.cxx index 1e1a435c3594..f0f0495589e8 100644 --- a/sw/source/core/tox/tox.cxx +++ b/sw/source/core/tox/tox.cxx @@ -402,8 +402,8 @@ sal_uInt16 SwForm::GetFormMaxLevel( TOXTypes eTOXType ) void SwForm::AdjustTabStops( SwDoc& rDoc ) // #i21237# { - const sal_uInt16 nFormMaxLevel = GetFormMax(); - for ( sal_uInt16 nLevel = 1; nLevel < nFormMaxLevel; ++nLevel ) + const sal_uInt16 nFormMax = GetFormMax(); + for ( sal_uInt16 nLevel = 1; nLevel < nFormMax; ++nLevel ) { SwTxtFmtColl* pColl = rDoc.FindTxtFmtCollByName( GetTemplate(nLevel) ); if( pColl == NULL ) |