summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-02 09:20:08 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-03 07:20:27 +0000
commit5beffcf3f1fd96fb9909b93759f8537417048863 (patch)
tree4c3818fa030c9b5f99a7abd3a39b68945a0c41e3 /svx
parent84945163ab6496d22ca814880cfd14ceb33c5f14 (diff)
convert Link<> to typed
Change-Id: Ic0482dc5ed26eb2fc6ccde73022eff8b4786de83 Reviewed-on: https://gerrit.libreoffice.org/18258 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/datanavi.cxx4
-rw-r--r--svx/source/inc/datanavi.hxx2
2 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx
index 164805583556..875e9282c35e 100644
--- a/svx/source/form/datanavi.cxx
+++ b/svx/source/form/datanavi.cxx
@@ -1799,7 +1799,7 @@ namespace svxform
return 0;
}
- IMPL_LINK_NOARG(DataNavigatorWindow, ActivatePageHdl)
+ IMPL_LINK_NOARG_TYPED(DataNavigatorWindow, ActivatePageHdl, TabControl*, void)
{
sal_uInt16 nId = 0;
XFormsPage* pPage = GetCurrentPage( nId );
@@ -1809,8 +1809,6 @@ namespace svxform
if ( m_xDataContainer.is() && !pPage->HasModel() )
SetPageModel();
}
-
- return 0;
}
IMPL_LINK_NOARG_TYPED(DataNavigatorWindow, UpdateHdl, Timer *, void)
diff --git a/svx/source/inc/datanavi.hxx b/svx/source/inc/datanavi.hxx
index 88e8d7d4cf16..a6e82f9d7413 100644
--- a/svx/source/inc/datanavi.hxx
+++ b/svx/source/inc/datanavi.hxx
@@ -350,7 +350,7 @@ namespace svxform
DECL_LINK( ModelSelectHdl, ListBox * );
DECL_LINK_TYPED( MenuSelectHdl, MenuButton *, void );
DECL_LINK( MenuActivateHdl, MenuButton * );
- DECL_LINK(ActivatePageHdl, void *);
+ DECL_LINK_TYPED(ActivatePageHdl, TabControl*, void);
DECL_LINK_TYPED(UpdateHdl, Timer *, void);
XFormsPage* GetCurrentPage( sal_uInt16& rCurId );