From 6741a0f25a0193941135636833e1068ee12fc77f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 3 Sep 2015 16:59:55 +0200 Subject: convert Link<> to typed Change-Id: I5469c9983ef94b418b729af841f8db10b9116667 Reviewed-on: https://gerrit.libreoffice.org/18316 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- include/vcl/menubtn.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/vcl/menubtn.hxx b/include/vcl/menubtn.hxx index d164ed826aa6..62933f1e45a9 100644 --- a/include/vcl/menubtn.hxx +++ b/include/vcl/menubtn.hxx @@ -41,8 +41,8 @@ private: PopupMenu* mpMenu; sal_uInt16 mnCurItemId; sal_uInt16 mnMenuMode; - Link<> maActivateHdl; - Link maSelectHdl; + Link maActivateHdl; + Link maSelectHdl; SAL_DLLPRIVATE void ImplInitMenuButtonData(); DECL_DLLPRIVATE_LINK_TYPED( ImplMenuTimeoutHdl, Timer*, void ); @@ -75,7 +75,7 @@ public: sal_uInt16 GetCurItemId() const { return mnCurItemId; } OString GetCurItemIdent() const; - void SetActivateHdl( const Link<>& rLink ) { maActivateHdl = rLink; } + void SetActivateHdl( const Link& rLink ) { maActivateHdl = rLink; } void SetSelectHdl( const Link& rLink ) { maSelectHdl = rLink; } }; -- cgit