diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-16 16:08:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-17 07:26:25 +0100 |
commit | 7994791e0a3681d46d8b257f09422b04deeae41c (patch) | |
tree | e04944776200e5bad5ac80618aaf3270a23c26d6 /ucbhelper/source | |
parent | 134425eb98147d197833cb4ef7bb4d8c3d7fd2bc (diff) |
use more OInterfaceContainer3::notifyEach
Change-Id: I0dd6e9f1514792e73a31e81896d09c27c1912318
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126966
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucbhelper/source')
-rw-r--r-- | ucbhelper/source/provider/contenthelper.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ucbhelper/source/provider/contenthelper.cxx b/ucbhelper/source/provider/contenthelper.cxx index 4cf93d1207b9..75d0a8479860 100644 --- a/ucbhelper/source/provider/contenthelper.cxx +++ b/ucbhelper/source/provider/contenthelper.cxx @@ -724,9 +724,7 @@ void ContentImplHelper::notifyPropertySetInfoChange( return; // Notify event listeners. - comphelper::OInterfaceIteratorHelper3 aIter( *m_pImpl->m_pPropSetChangeListeners ); - while ( aIter.hasMoreElements() ) - aIter.next()->propertySetInfoChange( evt ); + m_pImpl->m_pPropSetChangeListeners->notifyEach( &beans::XPropertySetInfoChangeListener::propertySetInfoChange, evt ); } void ContentImplHelper::notifyContentEvent( @@ -736,9 +734,7 @@ void ContentImplHelper::notifyContentEvent( return; // Notify event listeners. - comphelper::OInterfaceIteratorHelper3 aIter( *m_pImpl->m_pContentEventListeners ); - while ( aIter.hasMoreElements() ) - aIter.next()->contentEvent( evt ); + m_pImpl->m_pContentEventListeners->notifyEach( &css::ucb::XContentEventListener::contentEvent, evt); } void ContentImplHelper::inserted() |