cppcheck: use prefix variant

This commit is contained in:
Caolán McNamara 2010-11-26 21:36:40 +00:00
parent b257e33dd2
commit 9569f2026a

View file

@ -277,7 +277,7 @@ uno::Sequence< ::rtl::OUString > SAL_CALL OZipFileAccess::getElementNames()
uno::Sequence< ::rtl::OUString > aNames( m_pZipFile->GetEntryHash().size() );
sal_Int32 nLen = 0;
for ( EntryHash::iterator aIter = m_pZipFile->GetEntryHash().begin(); aIter != m_pZipFile->GetEntryHash().end(); aIter++ )
for ( EntryHash::iterator aIter = m_pZipFile->GetEntryHash().begin(); aIter != m_pZipFile->GetEntryHash().end(); ++aIter )
{
if ( aNames.getLength() < ++nLen )
{
@ -362,7 +362,7 @@ uno::Reference< io::XInputStream > SAL_CALL OZipFileAccess::getStreamByPattern(
// Code to compare strings by patterns
uno::Sequence< ::rtl::OUString > aPattern = GetPatternsFromString_Impl( aPatternString );
for ( EntryHash::iterator aIter = m_pZipFile->GetEntryHash().begin(); aIter != m_pZipFile->GetEntryHash().end(); aIter++ )
for ( EntryHash::iterator aIter = m_pZipFile->GetEntryHash().begin(); aIter != m_pZipFile->GetEntryHash().end(); ++aIter )
{
if ( StringGoodForPattern_Impl( (*aIter).second.sPath, aPattern ) )
{