summaryrefslogtreecommitdiff
path: root/chart2/source/view/main/VLegend.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/main/VLegend.cxx')
-rw-r--r--chart2/source/view/main/VLegend.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/main/VLegend.cxx b/chart2/source/view/main/VLegend.cxx
index e67099fdc326..5835233ec8ca 100644
--- a/chart2/source/view/main/VLegend.cxx
+++ b/chart2/source/view/main/VLegend.cxx
@@ -928,7 +928,7 @@ void VLegend::createShapes(
::std::vector< LegendEntryProvider* >::const_iterator aIter = m_aLegendEntryProviderList.begin();
const ::std::vector< LegendEntryProvider* >::const_iterator aEnd = m_aLegendEntryProviderList.end();
- for( aIter = m_aLegendEntryProviderList.begin(); aIter != aEnd; aIter++ )
+ for( aIter = m_aLegendEntryProviderList.begin(); aIter != aEnd; ++aIter )
{
LegendEntryProvider* pLegendEntryProvider( *aIter );
if( pLegendEntryProvider )
@@ -945,7 +945,7 @@ void VLegend::createShapes(
awt::Size aMaxSymbolExtent( nSymbolWidth, nSymbolHeigth );
tViewLegendEntryContainer aViewEntries;
- for( aIter = m_aLegendEntryProviderList.begin(); aIter != aEnd; aIter++ )
+ for( aIter = m_aLegendEntryProviderList.begin(); aIter != aEnd; ++aIter )
{
LegendEntryProvider* pLegendEntryProvider( *aIter );
if( pLegendEntryProvider )