summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLSeriesHelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/chart/SchXMLSeriesHelper.cxx')
-rw-r--r--xmloff/source/chart/SchXMLSeriesHelper.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/source/chart/SchXMLSeriesHelper.cxx b/xmloff/source/chart/SchXMLSeriesHelper.cxx
index c50ac86ece5f..b6b7a6656721 100644
--- a/xmloff/source/chart/SchXMLSeriesHelper.cxx
+++ b/xmloff/source/chart/SchXMLSeriesHelper.cxx
@@ -83,9 +83,10 @@ using ::com::sun::star::uno::Sequence;
sal_Int32 nIndex=0;
::std::vector< Reference< chart2::XDataSeries > > aSeriesVector( SchXMLSeriesHelper::getDataSeriesFromDiagram( xDiagram ));
+ const ::std::vector< Reference< chart2::XDataSeries > >::const_iterator aSeriesEnd( aSeriesVector.end() );
for( ::std::vector< Reference< chart2::XDataSeries > >::const_iterator aSeriesIt( aSeriesVector.begin() )
- ; aSeriesIt != aSeriesVector.end()
- ; aSeriesIt++, nIndex++ )
+ ; aSeriesIt != aSeriesEnd
+ ; ++aSeriesIt, nIndex++ )
{
Reference< chart2::XDataSeries > xSeries( *aSeriesIt );
if( xSeries.is() )