summaryrefslogtreecommitdiff
path: root/chart2/source/view/axes/VCartesianGrid.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/axes/VCartesianGrid.cxx')
-rw-r--r--chart2/source/view/axes/VCartesianGrid.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/axes/VCartesianGrid.cxx b/chart2/source/view/axes/VCartesianGrid.cxx
index e0aca77d9ba9..bbd95df1a307 100644
--- a/chart2/source/view/axes/VCartesianGrid.cxx
+++ b/chart2/source/view/axes/VCartesianGrid.cxx
@@ -274,7 +274,7 @@ void VCartesianGrid::createShapes()
::std::vector< TickInfo >::const_iterator aTickIter = (*aDepthIter).begin();
const ::std::vector< TickInfo >::const_iterator aTickEnd = (*aDepthIter).end();
sal_Int32 nRealPointCount = 0;
- for( ; aTickIter != aTickEnd; aTickIter++ )
+ for( ; aTickIter != aTickEnd; ++aTickIter )
{
if( !(*aTickIter).bPaintIt )
continue;
@@ -314,7 +314,7 @@ void VCartesianGrid::createShapes()
const ::std::vector< TickInfo >::const_iterator aTickEnd = (*aDepthIter).end();
sal_Int32 nRealPointCount = 0;
sal_Int32 nPolyIndex = 0;
- for( ; aTickIter != aTickEnd; aTickIter++, nPolyIndex++ )
+ for( ; aTickIter != aTickEnd; ++aTickIter, ++nPolyIndex )
{
if( !(*aTickIter).bPaintIt )
continue;