summaryrefslogtreecommitdiff
path: root/linguistic/source/dicimp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/source/dicimp.cxx')
-rw-r--r--linguistic/source/dicimp.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx
index cabbc3fe8a38..25311be0a06c 100644
--- a/linguistic/source/dicimp.cxx
+++ b/linguistic/source/dicimp.cxx
@@ -501,13 +501,7 @@ void DictionaryNeo::launchEvent(sal_Int16 nEvent,
aEvt.nEvent = nEvent;
aEvt.xDictionaryEntry = xEntry;
- cppu::OInterfaceIteratorHelper aIt( aDicEvtListeners );
- while (aIt.hasMoreElements())
- {
- uno::Reference< XDictionaryEventListener > xRef( aIt.next(), UNO_QUERY );
- if (xRef.is())
- xRef->processDictionaryEvent( aEvt );
- }
+ aDicEvtListeners.notifyEach( &XDictionaryEventListener::processDictionaryEvent, aEvt);
}
int DictionaryNeo::cmpDicEntry(const OUString& rWord1,