diff options
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/lngsvcmgr.cxx | 4 | ||||
-rw-r--r-- | linguistic/source/lngsvcmgr.hxx | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 81c2f5c67535..467791da0b20 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -517,7 +517,7 @@ void LngSvcMgr::modified(const lang::EventObject&) //needs to be run in the main thread because //utl::ConfigChangeListener_Impl::changesOccurred grabs the SolarMutex and we //get notified that an extension was added from an extension manager thread -IMPL_LINK_NOARG(LngSvcMgr, updateAndBroadcast) +IMPL_LINK_NOARG_TYPED(LngSvcMgr, updateAndBroadcast, Idle *, void) { osl::MutexGuard aGuard( GetLinguMutex() ); @@ -531,8 +531,6 @@ IMPL_LINK_NOARG(LngSvcMgr, updateAndBroadcast) linguistic2::LinguServiceEventFlags::PROOFREAD_AGAIN | linguistic2::LinguServiceEventFlags::HYPHENATE_AGAIN ); } - - return 0; } void LngSvcMgr::stopListening() diff --git a/linguistic/source/lngsvcmgr.hxx b/linguistic/source/lngsvcmgr.hxx index 73822faf8473..c135ad6279fd 100644 --- a/linguistic/source/lngsvcmgr.hxx +++ b/linguistic/source/lngsvcmgr.hxx @@ -138,7 +138,7 @@ class LngSvcMgr : void UpdateAll(); void stopListening(); - DECL_LINK( updateAndBroadcast, void* ); + DECL_LINK_TYPED( updateAndBroadcast, Idle*, void ); public: LngSvcMgr(); |