summaryrefslogtreecommitdiff
path: root/sw/source/uibase/misc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-07 14:26:19 +0200
committerNoel Grandin <noel@peralex.com>2015-09-08 08:16:47 +0200
commit20646c4c0115a298560f9cff4aeaba9503f65977 (patch)
tree7ce71a9aec29bc2a7560cb619bdc36be8f6ef570 /sw/source/uibase/misc
parent8ad9cc042416c7b4ef89644b60928588f0505798 (diff)
convert Link<> to typed
Change-Id: I7c7a4bbaa4670e873599ad2533a1c2de713cf53f
Diffstat (limited to 'sw/source/uibase/misc')
-rw-r--r--sw/source/uibase/misc/redlndlg.cxx16
1 files changed, 5 insertions, 11 deletions
diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx
index f6cd7eb36264..d0b544a59b84 100644
--- a/sw/source/uibase/misc/redlndlg.cxx
+++ b/sw/source/uibase/misc/redlndlg.cxx
@@ -883,31 +883,27 @@ sal_uInt16 SwRedlineAcceptDlg::GetRedlinePos( const SvTreeListEntry& rEntry ) co
rEntry.GetUserData())->pData)->pData );
}
-IMPL_LINK_NOARG(SwRedlineAcceptDlg, AcceptHdl)
+IMPL_LINK_NOARG_TYPED(SwRedlineAcceptDlg, AcceptHdl, SvxTPView*, void)
{
CallAcceptReject( true, true );
- return 0;
}
-IMPL_LINK_NOARG(SwRedlineAcceptDlg, AcceptAllHdl)
+IMPL_LINK_NOARG_TYPED(SwRedlineAcceptDlg, AcceptAllHdl, SvxTPView*, void)
{
CallAcceptReject( false, true );
- return 0;
}
-IMPL_LINK_NOARG(SwRedlineAcceptDlg, RejectHdl)
+IMPL_LINK_NOARG_TYPED(SwRedlineAcceptDlg, RejectHdl, SvxTPView*, void)
{
CallAcceptReject( true, false );
- return 0;
}
-IMPL_LINK_NOARG(SwRedlineAcceptDlg, RejectAllHdl)
+IMPL_LINK_NOARG_TYPED(SwRedlineAcceptDlg, RejectAllHdl, SvxTPView*, void)
{
CallAcceptReject( false, false );
- return 0;
}
-IMPL_LINK_NOARG(SwRedlineAcceptDlg, UndoHdl)
+IMPL_LINK_NOARG_TYPED(SwRedlineAcceptDlg, UndoHdl, SvxTPView*, void)
{
SwView * pView = ::GetActiveView();
pView->GetViewFrame()->GetDispatcher()->
@@ -915,8 +911,6 @@ IMPL_LINK_NOARG(SwRedlineAcceptDlg, UndoHdl)
pTPView->EnableUndo(pView->GetSlotState(SID_UNDO) != 0);
Activate();
-
- return 0;
}
IMPL_LINK_NOARG_TYPED(SwRedlineAcceptDlg, FilterChangedHdl, SvxTPFilter*, void)