diff options
Diffstat (limited to 'linguistic/source/convdic.cxx')
-rw-r--r-- | linguistic/source/convdic.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/linguistic/source/convdic.cxx b/linguistic/source/convdic.cxx index d04e4f166f2c..e78127c97ff2 100644 --- a/linguistic/source/convdic.cxx +++ b/linguistic/source/convdic.cxx @@ -618,13 +618,7 @@ void SAL_CALL ConvDic::flush( ) // notify listeners EventObject aEvtObj; aEvtObj.Source = uno::Reference< XFlushable >( this ); - cppu::OInterfaceIteratorHelper aIt( aFlushListeners ); - while (aIt.hasMoreElements()) - { - uno::Reference< util::XFlushListener > xRef( aIt.next(), UNO_QUERY ); - if (xRef.is()) - xRef->flushed( aEvtObj ); - } + aFlushListeners.notifyEach( &util::XFlushListener::flushed, aEvtObj ); } |