diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-16 13:02:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-17 08:19:32 +0200 |
commit | 7ffa2184586a2339f80f0af41c303dad9e822390 (patch) | |
tree | 292c4f9a77e71a78058795c2e22e184fa86f1829 /sd | |
parent | 81bec2e5535aeef7d6ae76f92124537d528f5c23 (diff) |
convert Link<> to typed
Change-Id: I93017f16affe16e8e452cd829bc4f9b495670d4d
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/OutlineView.hxx | 5 | ||||
-rw-r--r-- | sd/source/ui/view/outlview.cxx | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/sd/source/ui/inc/OutlineView.hxx b/sd/source/ui/inc/OutlineView.hxx index 03d58c596cb9..5279349a4492 100644 --- a/sd/source/ui/inc/OutlineView.hxx +++ b/sd/source/ui/inc/OutlineView.hxx @@ -32,6 +32,7 @@ class Outliner; class SfxProgress; struct PaintFirstLineInfo; struct PasteOrDropInfos; +class EditView; namespace sd { namespace tools { class EventMultiplexerEvent; @@ -103,8 +104,8 @@ public: DECL_LINK_TYPED( EndMovingHdl, Outliner *, void ); DECL_LINK_TYPED( RemovingPagesHdl, OutlinerView *, bool ); DECL_LINK_TYPED( IndentingPagesHdl, OutlinerView *, bool ); - DECL_LINK( BeginDropHdl, void * ); - DECL_LINK( EndDropHdl, void * ); + DECL_LINK_TYPED( BeginDropHdl, EditView*, void ); + DECL_LINK_TYPED( EndDropHdl, EditView*, void ); DECL_LINK_TYPED( PaintingFirstLineHdl, PaintFirstLineInfo*, void ); sal_uLong GetPaperWidth() { return mnPaperWidth;} diff --git a/sd/source/ui/view/outlview.cxx b/sd/source/ui/view/outlview.cxx index 1ad94d2b1132..feef14d4b1f6 100644 --- a/sd/source/ui/view/outlview.cxx +++ b/sd/source/ui/view/outlview.cxx @@ -796,18 +796,16 @@ IMPL_LINK_NOARG_TYPED(OutlineView, StatusEventHdl, EditStatus&, void) } } -IMPL_LINK_NOARG(OutlineView, BeginDropHdl) +IMPL_LINK_NOARG_TYPED(OutlineView, BeginDropHdl, EditView*, void) { DBG_ASSERT(maDragAndDropModelGuard.get() == 0, "sd::OutlineView::BeginDropHdl(), prior drag operation not finished correctly!" ); maDragAndDropModelGuard.reset( new OutlineViewModelChangeGuard( *this ) ); - return 0; } -IMPL_LINK_NOARG(OutlineView, EndDropHdl) +IMPL_LINK_NOARG_TYPED(OutlineView, EndDropHdl, EditView*, void) { maDragAndDropModelGuard.reset(0); - return 0; } /** |