summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-03 16:59:55 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-04 06:32:36 +0000
commit6741a0f25a0193941135636833e1068ee12fc77f (patch)
tree9d75041275c3f276eeb37ebcdff4c84eae1afa95 /include/vcl
parent5702e894b89505e3e3ebd76826c477a7d6efecb5 (diff)
convert Link<> to typed
Change-Id: I5469c9983ef94b418b729af841f8db10b9116667 Reviewed-on: https://gerrit.libreoffice.org/18316 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/menubtn.hxx6
1 files changed, 3 insertions, 3 deletions
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<MenuButton *, void> maSelectHdl;
+ Link<MenuButton*,void> maActivateHdl;
+ Link<MenuButton*,void> 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<MenuButton *, void>& rLink ) { maActivateHdl = rLink; }
void SetSelectHdl( const Link<MenuButton *, void>& rLink ) { maSelectHdl = rLink; }
};