summaryrefslogtreecommitdiff
path: root/editeng/source/outliner/outliner.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-16 11:00:16 +0200
committerNoel Grandin <noel@peralex.com>2015-09-17 08:19:32 +0200
commitc784b1a339ab59b7cf5caacd10be5945ec3e0f9f (patch)
tree8da723597589cf913e98dcf33f7eb27c6f67343e /editeng/source/outliner/outliner.cxx
parent073b5e877eaae2dac44900a855ce8ca3cb60a782 (diff)
convert Link<> to typed
Change-Id: Ie9f7f6a5dda1fd23558775b643e5b8fa850f4a89
Diffstat (limited to 'editeng/source/outliner/outliner.cxx')
-rw-r--r--editeng/source/outliner/outliner.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index 44366fc4e314..18ad27cb33a4 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -1787,20 +1787,18 @@ IMPL_LINK_NOARG_TYPED(Outliner, BeginMovingParagraphsHdl, MoveParagraphsInfo&, v
aBeginMovingHdl.Call( this );
}
-IMPL_LINK( Outliner, BeginPasteOrDropHdl, PasteOrDropInfos*, pInfos )
+IMPL_LINK_TYPED( Outliner, BeginPasteOrDropHdl, PasteOrDropInfos&, rInfos, void )
{
UndoActionStart( EDITUNDO_DRAGANDDROP );
- maBeginPasteOrDropHdl.Call(pInfos);
- return 0;
+ maBeginPasteOrDropHdl.Call(&rInfos);
}
-IMPL_LINK( Outliner, EndPasteOrDropHdl, PasteOrDropInfos*, pInfos )
+IMPL_LINK_TYPED( Outliner, EndPasteOrDropHdl, PasteOrDropInfos&, rInfos, void )
{
bPasting = false;
- ImpTextPasted( pInfos->nStartPara, pInfos->nEndPara - pInfos->nStartPara + 1 );
- maEndPasteOrDropHdl.Call( pInfos );
+ ImpTextPasted( rInfos.nStartPara, rInfos.nEndPara - rInfos.nStartPara + 1 );
+ maEndPasteOrDropHdl.Call( &rInfos );
UndoActionEnd( EDITUNDO_DRAGANDDROP );
- return 0;
}
IMPL_LINK_TYPED( Outliner, EndMovingParagraphsHdl, MoveParagraphsInfo&, rInfos, void )