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 | d2ad54d2a53a1c02c1e172016a4f1d6f76569783 (patch) | |
tree | ecba1f4d9cc3eff635e61884e1048cf685e3c6e7 /io/source | |
parent | 56c511481b522ba63e5640b88d50216be304e8ed (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 792920c2667a..cbbfa0fff1c6 100644 --- a/io/source/stm/omark.cxx +++ b/io/source/stm/omark.cxx @@ -406,7 +406,7 @@ void OMarkableOutputStream::checkMarksAndFlush() throw( NotConnectedExceptio // 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( NotConnectedExceptio 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; } |