cppcheck: use prefix variant

This commit is contained in:
Caolán McNamara 2010-11-26 21:31:10 +00:00
parent 07f835791c
commit f0316f43ea

View file

@ -160,7 +160,7 @@ void SAL_CALL SvxUnoNameItemTable::removeByName( const OUString& aApiName )
maItemSetVector.erase( aIter );
return;
}
aIter++;
++aIter;
}
if( !hasByName( Name ) )
@ -195,7 +195,7 @@ void SAL_CALL SvxUnoNameItemTable::replaceByName( const OUString& aApiName, cons
(*aIter)->Put( *pNewItem );
return;
}
aIter++;
++aIter;
}
// if it is not in our own sets, modify the pool!