diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-05-05 23:32:12 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-05-05 23:33:14 +0200 |
commit | 69211a3aa531c1fa26c689ed48ad614b1e11405f (patch) | |
tree | 1d293562997331069601f97cd164de291bd6a9fd /chart2/source/view/axes/Tickmarks.cxx | |
parent | 7664f5012bb8d8e167f7a0f8760709258af074c7 (diff) |
Some cppcheck cleaning
Diffstat (limited to 'chart2/source/view/axes/Tickmarks.cxx')
-rw-r--r-- | chart2/source/view/axes/Tickmarks.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/axes/Tickmarks.cxx b/chart2/source/view/axes/Tickmarks.cxx index 834fe66eb97b..ded69433b509 100644 --- a/chart2/source/view/axes/Tickmarks.cxx +++ b/chart2/source/view/axes/Tickmarks.cxx @@ -93,7 +93,7 @@ TickInfo* PureTickIter::nextInfo() { if(m_aTickIter!=m_rTickVector.end()) { - m_aTickIter++; + ++m_aTickIter; if(m_aTickIter!=m_rTickVector.end()) return &*m_aTickIter; } @@ -319,7 +319,7 @@ void TickFactory_2D::updateScreenValues( ::std::vector< ::std::vector< TickInfo { ::std::vector< TickInfo >::iterator aTickIter = (*aDepthIter).begin(); const ::std::vector< TickInfo >::const_iterator aTickEnd = (*aDepthIter).end(); - for( ; aTickIter != aTickEnd; aTickIter++ ) + for( ; aTickIter != aTickEnd; ++aTickIter ) { TickInfo& rTickInfo = (*aTickIter); rTickInfo.aTickScreenPosition = |