diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-01-06 14:16:13 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-01-06 14:16:13 +0000 |
commit | 2571d265fb4e59396e5601b8698776dc296cf16a (patch) | |
tree | 815b1500ed2bad7382d2884765a3596d2f8e5154 /io/source | |
parent | 29de2910746b4700ac33f6f480094a01f33df753 (diff) |
cppunit: prefer prefix variant
Diffstat (limited to 'io/source')
-rw-r--r-- | io/source/stm/omark.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx index 13ce6db61..b4a325f0b 100644 --- a/io/source/stm/omark.cxx +++ b/io/source/stm/omark.cxx @@ -406,7 +406,7 @@ void OMarkableOutputStream::checkMarksAndFlush() throw( NotConnectedException, // find the smallest mark sal_Int32 nNextFound = m_nCurrentPos; - for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ii ++ ) { + for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ++ii ) { if( (*ii).second <= nNextFound ) { nNextFound = (*ii).second; } @@ -415,7 +415,7 @@ void OMarkableOutputStream::checkMarksAndFlush() throw( NotConnectedException, if( nNextFound ) { // some data must be released ! m_nCurrentPos -= nNextFound; - for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ii ++ ) { + for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ++ii ) { (*ii).second -= nNextFound; } @@ -939,7 +939,7 @@ void OMarkableInputStream::checkMarksAndFlush() // find the smallest mark sal_Int32 nNextFound = m_nCurrentPos; - for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ii ++ ) { + for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ii ) { if( (*ii).second <= nNextFound ) { nNextFound = (*ii).second; } @@ -948,7 +948,7 @@ void OMarkableInputStream::checkMarksAndFlush() if( nNextFound ) { // some data must be released ! m_nCurrentPos -= nNextFound; - for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ii ++ ) { + for( ii = m_mapMarks.begin() ; ii != m_mapMarks.end() ; ++ii ) { (*ii).second -= nNextFound; } |