diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-09-22 16:40:35 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-22 18:58:02 +0000 |
commit | 6f4a024b88ef99a44b78ab9d387dcf950c4d5677 (patch) | |
tree | 33c65008d488af704c27f4a6a5957f0cf9c3d647 /sd/source/ui/tools | |
parent | 3e6bd83cb5266efcda785d350fd4052d6251a52d (diff) |
convert Link<> to typed
Change-Id: I6f17e073c50e28f40e3df4e557a63f0bcdc502de
Reviewed-on: https://gerrit.libreoffice.org/18778
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source/ui/tools')
-rw-r--r-- | sd/source/ui/tools/EventMultiplexer.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sd/source/ui/tools/EventMultiplexer.cxx b/sd/source/ui/tools/EventMultiplexer.cxx index b776c71c191a..91419735e892 100644 --- a/sd/source/ui/tools/EventMultiplexer.cxx +++ b/sd/source/ui/tools/EventMultiplexer.cxx @@ -155,7 +155,7 @@ private: void ThrowIfDisposed() throw (::com::sun::star::lang::DisposedException); - DECL_LINK(SlideSorterSelectionChangeListener, void*); + DECL_LINK_TYPED(SlideSorterSelectionChangeListener, LinkParamNone*, void); }; const char aCurrentPagePropertyName[] = "CurrentPage"; @@ -704,10 +704,9 @@ void EventMultiplexer::Implementation::CallListeners (EventMultiplexerEvent& rEv } } -IMPL_LINK_NOARG(EventMultiplexer::Implementation, SlideSorterSelectionChangeListener) +IMPL_LINK_NOARG_TYPED(EventMultiplexer::Implementation, SlideSorterSelectionChangeListener, LinkParamNone*, void) { - CallListeners (EventMultiplexerEvent::EID_SLIDE_SORTER_SELECTION); - return 0; + CallListeners(EventMultiplexerEvent::EID_SLIDE_SORTER_SELECTION); } //===== EventMultiplexerEvent ================================================= |