From a579ad2c086f1854f7bb6058ec590d1427e72984 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 15 Sep 2012 13:18:35 +0200 Subject: Prefer prefix ++/-- operators for non-primitive types Change-Id: Ia6a14d2365fe0a31892517387035e4ebec1f25eb --- .../controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chart2') diff --git a/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx b/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx index 7402c3bb3c7d..5caee3847f46 100644 --- a/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx +++ b/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx @@ -72,7 +72,7 @@ public: ::chart::DiagramHelper::getDataSeriesFromDiagram( m_spChart2ModelContact->getChart2Diagram() ) ); ::std::vector< ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries > >::const_iterator aIter = aSeriesVector.begin(); - for( ; aIter != aSeriesVector.end(); aIter++ ) + for( ; aIter != aSeriesVector.end(); ++aIter ) { PROPERTYTYPE aCurValue = getValueFromSeries( ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >::query( *aIter ) ); if( !bHasDetectableInnerValue ) @@ -101,7 +101,7 @@ public: ::chart::DiagramHelper::getDataSeriesFromDiagram( m_spChart2ModelContact->getChart2Diagram() ) ); ::std::vector< ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XDataSeries > >::const_iterator aIter = aSeriesVector.begin(); - for( ; aIter != aSeriesVector.end(); aIter++ ) + for( ; aIter != aSeriesVector.end(); ++aIter ) { ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > xSeriesPropertySet( *aIter, ::com::sun::star::uno::UNO_QUERY ); if( xSeriesPropertySet.is() ) -- cgit