summaryrefslogtreecommitdiff
path: root/chart2/source/tools/ConfigColorScheme.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/ConfigColorScheme.cxx')
-rw-r--r--chart2/source/tools/ConfigColorScheme.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/tools/ConfigColorScheme.cxx b/chart2/source/tools/ConfigColorScheme.cxx
index 1618733aa15c..e3bdb20fac04 100644
--- a/chart2/source/tools/ConfigColorScheme.cxx
+++ b/chart2/source/tools/ConfigColorScheme.cxx
@@ -73,10 +73,10 @@ ChartConfigItem::ChartConfigItem( ConfigColorScheme & rListener ) :
void ChartConfigItem::Notify( const Sequence< OUString > & aPropertyNames )
{
- for( sal_Int32 nIdx=0; nIdx<aPropertyNames.getLength(); ++nIdx )
+ for( OUString const & s : aPropertyNames )
{
- if( m_aPropertiesToNotify.find( aPropertyNames[nIdx] ) != m_aPropertiesToNotify.end())
- m_rListener.notify( aPropertyNames[nIdx] );
+ if( m_aPropertiesToNotify.find( s ) != m_aPropertiesToNotify.end())
+ m_rListener.notify( s );
}
}