summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx11
1 files changed, 1 insertions, 10 deletions
diff --git a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx
index 8c850b7ff7d0..dfde917be350 100644
--- a/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx
@@ -607,16 +607,7 @@ void ChartDataWrapper::fireChartDataChangeEvent(
if( xSrc.is() )
aEvent.Source = xSrc;
- ::cppu::OInterfaceIteratorHelper aIter( m_aEventListenerContainer );
-
- while( aIter.hasMoreElements() )
- {
- uno::Reference<
- ::com::sun::star::chart::XChartDataChangeEventListener > xListener(
- aIter.next(), uno::UNO_QUERY );
- if( xListener.is() )
- xListener->chartDataChanged( aEvent );
- }
+ m_aEventListenerContainer.notifyEach( &css::chart::XChartDataChangeEventListener::chartDataChanged, aEvent );
}
void ChartDataWrapper::switchToInternalDataProvider()