diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-16 09:51:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-17 08:19:32 +0200 |
commit | b98fb89598a400b33a47ceebafe1604c03c829dc (patch) | |
tree | dd465013d9f77ea14b6e77a81b7cf88dd2f4a88e /editeng/source/outliner/outliner.cxx | |
parent | 23b9febbd883f9db77ffb0216b050aaabc4c6510 (diff) |
convert Link<> to typed
Change-Id: Ied8e0b35f193770a6651f1c57dfb8eedd22d837c
Diffstat (limited to 'editeng/source/outliner/outliner.cxx')
-rw-r--r-- | editeng/source/outliner/outliner.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx index 1694876416df..0e3105a182ed 100644 --- a/editeng/source/outliner/outliner.cxx +++ b/editeng/source/outliner/outliner.cxx @@ -2015,14 +2015,12 @@ void Outliner::ImplBlockInsertionCallbacks( bool b ) } } -IMPL_LINK( Outliner, EditEngineNotifyHdl, EENotify*, pNotify ) +IMPL_LINK_TYPED( Outliner, EditEngineNotifyHdl, EENotify&, rNotify, void ) { if ( !nBlockInsCallback ) - pEditEngine->aOutlinerNotifyHdl.Call( pNotify ); + pEditEngine->aOutlinerNotifyHdl.Call( &rNotify ); else - pEditEngine->aNotifyCache.push_back(*pNotify); - - return 0; + pEditEngine->aNotifyCache.push_back(rNotify); } /** sets a link that is called at the beginning of a drag operation at an edit view */ |