cppcheck: prefer prefix variant

This commit is contained in:
Caolán McNamara 2010-12-23 15:11:05 +00:00
parent 40b982d78e
commit 619e1a6472

View file

@ -3138,7 +3138,7 @@ void DomainMapper::sprm( Sprm& rSprm, PropertyMapPtr rContext, SprmType eSprmTyp
pSectionContext->SetColumnDistance( pSectHdl->GetSpace() );
pSectionContext->SetColumnCount( (sal_Int16)(pSectHdl->GetColumns().size() -1));
std::vector<_Column>::const_iterator tmpIter = pSectHdl->GetColumns().begin();
for (; tmpIter != pSectHdl->GetColumns().end(); tmpIter++)
for (; tmpIter != pSectHdl->GetColumns().end(); ++tmpIter)
{
pSectionContext->AppendColumnWidth( tmpIter->nWidth );
if ((tmpIter != pSectHdl->GetColumns().end() - 1) || (tmpIter->nSpace > 0))