cppcheck: use prefix variant
This commit is contained in:
parent
b257e33dd2
commit
9569f2026a
1 changed files with 2 additions and 2 deletions
|
@ -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 ) )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue