diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-12-30 20:59:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-12-30 20:59:06 +0000 |
commit | 89659f15c1127453342f098e09f209cbfb427fe8 (patch) | |
tree | 12151943b4dc85dfc9ce859da4b4937d692830fa /xmloff | |
parent | dcba880b0e02937356fbb0db061843d8a72f34e6 (diff) |
cppcheck: prefer prefix variant
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/ximpcustomshape.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/draw/ximpcustomshape.cxx b/xmloff/source/draw/ximpcustomshape.cxx index 667bfa88f0..e768c8b39d 100644 --- a/xmloff/source/draw/ximpcustomshape.cxx +++ b/xmloff/source/draw/ximpcustomshape.cxx @@ -1165,7 +1165,7 @@ void XMLEnhancedCustomShapeContext::EndElement() while( aEquationNameIter != aEquationNameEnd ) { (*pH)[ *aEquationNameIter ] = (sal_Int32)( aEquationNameIter - maEquationNames.begin() ); - aEquationNameIter++; + ++aEquationNameIter; } // resolve equation @@ -1196,7 +1196,7 @@ void XMLEnhancedCustomShapeContext::EndElement() } } while( nIndexOf != -1 ); - aEquationIter++; + ++aEquationIter; } // Path @@ -1237,7 +1237,7 @@ void XMLEnhancedCustomShapeContext::EndElement() default: break; } - aPathIter++; + ++aPathIter; } std::vector< beans::PropertyValues >::iterator aHandleIter = maHandles.begin(); std::vector< beans::PropertyValues >::iterator aHandleEnd = maHandles.end(); @@ -1273,7 +1273,7 @@ void XMLEnhancedCustomShapeContext::EndElement() } pValues++; } - aHandleIter++; + ++aHandleIter; } delete pH; } |