summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-07 14:16:29 +0200
committerNoel Grandin <noel@peralex.com>2015-09-08 08:16:47 +0200
commit8ad9cc042416c7b4ef89644b60928588f0505798 (patch)
treee10a30b7ce011bd343a6bd70258acd9f058d3a3f /sw
parent60df720f79363b737eb533331e86535e1d66f1f5 (diff)
convert Link<> to typed
Change-Id: Ia7bdaa3a02af8f81884d81d60c0f135af2f8aeae
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/misc/swmodalredlineacceptdlg.cxx2
-rw-r--r--sw/source/uibase/inc/redlndlg.hxx2
-rw-r--r--sw/source/uibase/misc/redlndlg.cxx4
3 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/ui/misc/swmodalredlineacceptdlg.cxx b/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
index 252e264f4b58..05a4fb555f09 100644
--- a/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
+++ b/sw/source/ui/misc/swmodalredlineacceptdlg.cxx
@@ -82,7 +82,7 @@ void SwModalRedlineAcceptDlg::AcceptAll( bool bAccept )
pFilterTP->CheckAuthor(false);
pFilterTP->CheckRange(false);
pFilterTP->CheckAction(false);
- pImplDlg->FilterChangedHdl();
+ pImplDlg->FilterChangedHdl(NULL);
}
pImplDlg->CallAcceptReject( false, bAccept );
diff --git a/sw/source/uibase/inc/redlndlg.hxx b/sw/source/uibase/inc/redlndlg.hxx
index 1019112cec88..93350fc0ed46 100644
--- a/sw/source/uibase/inc/redlndlg.hxx
+++ b/sw/source/uibase/inc/redlndlg.hxx
@@ -114,7 +114,7 @@ public:
SwRedlineAcceptDlg(vcl::Window *pParent, VclBuilderContainer *pBuilder, vcl::Window *pContentArea, bool bAutoFormat = false);
virtual ~SwRedlineAcceptDlg();
- DECL_LINK( FilterChangedHdl, void * = 0 );
+ DECL_LINK_TYPED( FilterChangedHdl, SvxTPFilter*, void );
inline SvxAcceptChgCtr& GetChgCtrl() { return *aTabPagesCTRL.get(); }
inline bool HasRedlineAutoFormat() const { return bRedlnAutoFormat; }
diff --git a/sw/source/uibase/misc/redlndlg.cxx b/sw/source/uibase/misc/redlndlg.cxx
index fae6131d9a61..f6cd7eb36264 100644
--- a/sw/source/uibase/misc/redlndlg.cxx
+++ b/sw/source/uibase/misc/redlndlg.cxx
@@ -919,7 +919,7 @@ IMPL_LINK_NOARG(SwRedlineAcceptDlg, UndoHdl)
return 0;
}
-IMPL_LINK_NOARG(SwRedlineAcceptDlg, FilterChangedHdl)
+IMPL_LINK_NOARG_TYPED(SwRedlineAcceptDlg, FilterChangedHdl, SvxTPFilter*, void)
{
SvxTPFilter *pFilterTP = aTabPagesCTRL->GetFilterPage();
@@ -929,8 +929,6 @@ IMPL_LINK_NOARG(SwRedlineAcceptDlg, FilterChangedHdl)
sFilterAction = aEmptyOUStr;
Init();
-
- return 0;
}
IMPL_LINK_NOARG_TYPED(SwRedlineAcceptDlg, DeselectHdl, SvTreeListBox*, void)