From 4ea70f87f7a2b61eda6e5ab1f48debf6fcfadc1f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 3 Sep 2015 11:10:57 +0200 Subject: convert Link<> to typed Change-Id: I2136c3db2742afcb4722f69297276bea1e0119f4 Reviewed-on: https://gerrit.libreoffice.org/18306 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svx/charmap.hxx | 2 +- include/svx/dlgctl3d.hxx | 2 +- include/svx/rubydialog.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include/svx') diff --git a/include/svx/charmap.hxx b/include/svx/charmap.hxx index 636f9c256532..e23f941bffe7 100644 --- a/include/svx/charmap.hxx +++ b/include/svx/charmap.hxx @@ -120,7 +120,7 @@ private: void InitSettings(vcl::RenderContext& rRenderContext); // abstraction layers are: Unicode<->MapIndex<->Pixel Point MapIndexToPixel( int) const; - DECL_LINK(VscrollHdl, void *); + DECL_LINK_TYPED(VscrollHdl, ScrollBar*, void); void init(); Rectangle getGridRectangle(const Point &rPointUL, const Size &rOutputSize); diff --git a/include/svx/dlgctl3d.hxx b/include/svx/dlgctl3d.hxx index 80e442ea62de..65fc6f479dd2 100644 --- a/include/svx/dlgctl3d.hxx +++ b/include/svx/dlgctl3d.hxx @@ -177,7 +177,7 @@ protected: DECL_LINK( InternalInteractiveChange, void*); DECL_LINK( InternalSelectionChange, void*); - DECL_LINK( ScrollBarMove, void*); + DECL_LINK_TYPED( ScrollBarMove, ScrollBar*, void); DECL_LINK_TYPED( ButtonPress, Button*, void); // initialize local parameters diff --git a/include/svx/rubydialog.hxx b/include/svx/rubydialog.hxx index 3a7cbdbbfbab..b7108e2e7aed 100644 --- a/include/svx/rubydialog.hxx +++ b/include/svx/rubydialog.hxx @@ -131,7 +131,7 @@ class SvxRubyDialog : public SfxModelessDialog DECL_LINK_TYPED(ApplyHdl_Impl, Button*, void); DECL_LINK_TYPED(CloseHdl_Impl, Button*, void); DECL_LINK_TYPED(StylistHdl_Impl, Button*, void); - DECL_LINK(ScrollHdl_Impl, ScrollBar*); + DECL_LINK_TYPED(ScrollHdl_Impl, ScrollBar*, void); DECL_LINK(PositionHdl_Impl, ListBox*); DECL_LINK(AdjustHdl_Impl, ListBox*); DECL_LINK(CharStyleHdl_Impl, void *); -- cgit