diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-09-23 09:39:17 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-23 13:07:09 +0000 |
commit | 473a8e2ccad0f58430c469ac3366153db033ac25 (patch) | |
tree | ec94dc696d3099014839bc6a2523024f3ea7581d /sw/source/uibase/inc/actctrl.hxx | |
parent | b2cd2e79b6fc152072d0f1e46b5c4ed2d489c09c (diff) |
convert Link<> to typed
Change-Id: Ie31b7f6ed89d684b6ec0ac8e6a144ef6024ba1d2
Reviewed-on: https://gerrit.libreoffice.org/18801
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/uibase/inc/actctrl.hxx')
-rw-r--r-- | sw/source/uibase/inc/actctrl.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/actctrl.hxx b/sw/source/uibase/inc/actctrl.hxx index dee1cc853da9..aab03f4b5ba4 100644 --- a/sw/source/uibase/inc/actctrl.hxx +++ b/sw/source/uibase/inc/actctrl.hxx @@ -40,7 +40,7 @@ public: // call a link when KEY_RETURN is pressed class SW_DLLPUBLIC ReturnActionEdit : public Edit { - Link<> aReturnActionLink; + Link<ReturnActionEdit&,void> aReturnActionLink; public: ReturnActionEdit(vcl::Window* pParent, WinBits nStyle) : Edit(pParent, nStyle) @@ -48,7 +48,7 @@ public: } virtual void KeyInput( const KeyEvent& ) SAL_OVERRIDE; - void SetReturnActionLink(const Link<>& rLink) + void SetReturnActionLink(const Link<ReturnActionEdit&,void>& rLink) { aReturnActionLink = rLink;} }; |