diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-15 08:13:49 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-16 09:11:29 +0000 |
commit | 6f1313b3d44ea54e9a331e0fc00871081fa662fe (patch) | |
tree | fa6d9b6da04daedcb63ea2a0bc8c414288ed8bc6 /include/vcl/edit.hxx | |
parent | 14bf708ef586b15dffed66ffaf524baf4d8fcbfa (diff) |
convert Link<> to typed
Change-Id: Icbba339dac0be31e30dff021bba06a219f8aecd6
Reviewed-on: https://gerrit.libreoffice.org/19405
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/edit.hxx')
-rw-r--r-- | include/vcl/edit.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx index 7a6023684860..3f015be0ca85 100644 --- a/include/vcl/edit.hxx +++ b/include/vcl/edit.hxx @@ -102,8 +102,8 @@ private: mbIsSubEdit:1, mbInMBDown:1, mbActivePopup:1; - Link<> maModifyHdl; - Link<> maUpdateDataHdl; + Link<Edit&,void> maModifyHdl; + Link<Edit&,void> maUpdateDataHdl; css::uno::Reference<css::i18n::XExtendedInputSequenceChecker> mxISC; @@ -246,9 +246,9 @@ public: const OUString& GetSavedValue() const { return maSaveValue; } bool IsValueChangedFromSaved() const { return maSaveValue != GetText(); } - virtual void SetModifyHdl( const Link<>& rLink ) { maModifyHdl = rLink; } - virtual const Link<>& GetModifyHdl() const { return maModifyHdl; } - virtual void SetUpdateDataHdl( const Link<>& rLink ) { maUpdateDataHdl = rLink; } + virtual void SetModifyHdl( const Link<Edit&,void>& rLink ) { maModifyHdl = rLink; } + virtual const Link<Edit&,void>& GetModifyHdl() const { return maModifyHdl; } + virtual void SetUpdateDataHdl( const Link<Edit&,void>& rLink ) { maUpdateDataHdl = rLink; } void SetSubEdit( Edit* pEdit ); Edit* GetSubEdit() const { return mpSubEdit; } |