diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-03-28 21:06:03 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-03-28 21:23:28 +0400 |
commit | 6b170f3d0aa519c6fd4e3ee92421f5a87ab511e3 (patch) | |
tree | b7cab8d42f445bba4b099b346a3f4f599b78f725 /sc | |
parent | 82e0247c7a36aedf7ecf55488360f9abeb89726a (diff) |
WaE: declaration of 'it' shadows a previous local
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/chartpos.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/core/tool/chartpos.cxx b/sc/source/core/tool/chartpos.cxx index 7ab9e43a264c..78ea6e7071ab 100644 --- a/sc/source/core/tool/chartpos.cxx +++ b/sc/source/core/tool/chartpos.cxx @@ -409,8 +409,7 @@ void ScChartPositioner::CreatePositionMap() sal_uLong nInsRow = (bNoGlue ? nNoGlueRow : nRow1); for ( nRow = nRow1; nRow <= nRow2; nRow++, nInsRow++ ) { - RowMap::const_iterator it = pCol->find( nInsRow ); - if ( it == pCol->end() ) + if ( pCol->find( nInsRow ) == pCol->end() ) { pCol->insert( RowMap::value_type( nInsRow, new ScAddress( nCol, nRow, nTab ) ) ); } |