summaryrefslogtreecommitdiff
path: root/ucbhelper/source/provider/contenthelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucbhelper/source/provider/contenthelper.cxx')
-rw-r--r--ucbhelper/source/provider/contenthelper.cxx8
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()