diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-09 11:41:20 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-10 11:38:30 +0200 |
commit | f4e951a61a20edd6efbd244966e851aa378e66ad (patch) | |
tree | f4879e437b88432069001e7e3dadd2649cd33a14 /include/vcl | |
parent | 823150ff153a6e02781b1b2b09ea6eb528111d2e (diff) |
convert Link<> to typed
Change-Id: I603463d0486d4d0f21ebbdc6eca900db58bb090f
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/button.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx index 6dc7a32932d8..10a241c6c6cd 100644 --- a/include/vcl/button.hxx +++ b/include/vcl/button.hxx @@ -284,7 +284,7 @@ private: bool mbSaveValue; bool mbRadioCheck; bool mbStateChanged; - Link<> maToggleHdl; + Link<RadioButton&,void> maToggleHdl; // when mbLegacyNoTextAlign is set then the old behaviour where // the WB_LEFT, WB_RIGHT & WB_CENTER affect the image placement // occurs, otherwise the image ( radiobutton circle ) is placed @@ -372,7 +372,7 @@ public: Size CalcMinimumSize( long nMaxWidth = 0 ) const; virtual Size GetOptimalSize() const SAL_OVERRIDE; - void SetToggleHdl( const Link<>& rLink ) { maToggleHdl = rLink; } + void SetToggleHdl( const Link<RadioButton&,void>& rLink ) { maToggleHdl = rLink; } /** GetRadioButtonGroup returns a list of pointers to <code>RadioButton</code>s in the same group. |