summaryrefslogtreecommitdiff
path: root/io/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-06 14:16:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-06 14:16:13 +0000
commit2571d265fb4e59396e5601b8698776dc296cf16a (patch)
tree815b1500ed2bad7382d2884765a3596d2f8e5154 /io/source
parent29de2910746b4700ac33f6f480094a01f33df753 (diff)
cppunit: prefer prefix variant
Diffstat (limited to 'io/source')
-rw-r--r--io/source/stm/omark.cxx8
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;
}