diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-23 15:06:30 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-23 15:06:30 +0000 |
commit | fae5a36e37059b75f648f7b0e86e4cf1d26f613d (patch) | |
tree | 2d2918f2e1dd4de1bfbd26ae63670d6cea8cf126 /svtools/source | |
parent | 377e3d170d25cb3a9cbec42fba532b47c5840562 (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/contnr/fileview.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index b30fff04c6a9..f5a6de0a6ab0 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -1909,7 +1909,7 @@ void SvtFileView_Impl::Clear() std::vector< SortingData_Impl* >::iterator aIt; - for ( aIt = maContent.begin(); aIt != maContent.end(); aIt++ ) + for ( aIt = maContent.begin(); aIt != maContent.end(); ++aIt ) delete (*aIt); maContent.clear(); @@ -2170,7 +2170,7 @@ void SvtFileView_Impl::OpenFolder_Impl() std::vector< SortingData_Impl* >::iterator aIt; - for ( aIt = maContent.begin(); aIt != maContent.end(); aIt++ ) + for ( aIt = maContent.begin(); aIt != maContent.end(); ++aIt ) { if ( mbOnlyFolder && ! (*aIt)->mbIsFolder ) continue; @@ -2304,7 +2304,7 @@ void SvtFileView_Impl::CreateDisplayText_Impl() std::vector< SortingData_Impl* >::iterator aIt; - for ( aIt = maContent.begin(); aIt != maContent.end(); aIt++ ) + for ( aIt = maContent.begin(); aIt != maContent.end(); ++aIt ) { // title, type, size, date aValue = (*aIt)->GetTitle(); @@ -2576,7 +2576,7 @@ void SvtFileView_Impl::EntryRemoved( const OUString& rURL ) std::vector< SortingData_Impl* >::iterator aIt; - for ( aIt = maContent.begin(); aIt != maContent.end(); aIt++ ) + for ( aIt = maContent.begin(); aIt != maContent.end(); ++aIt ) { if ( (*aIt)->maTargetURL == rURL ) { @@ -2594,7 +2594,7 @@ void SvtFileView_Impl::EntryRenamed( OUString& rURL, std::vector< SortingData_Impl* >::iterator aIt; - for ( aIt = maContent.begin(); aIt != maContent.end(); aIt++ ) + for ( aIt = maContent.begin(); aIt != maContent.end(); ++aIt ) { if ( (*aIt)->maTargetURL == rURL ) { @@ -2668,7 +2668,7 @@ ULONG SvtFileView_Impl::GetEntryPos( const OUString& rURL ) std::vector< SortingData_Impl* >::iterator aIt; ULONG nPos = 0; - for ( aIt = maContent.begin(); aIt != maContent.end(); aIt++ ) + for ( aIt = maContent.begin(); aIt != maContent.end(); ++aIt ) { if ( (*aIt)->maTargetURL == rURL ) return nPos; |