diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-19 09:11:34 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-26 11:15:35 +0200 |
commit | 167bc621ef825ed5b961502fe9324a675ee34e42 (patch) | |
tree | 523838d8adc14a62f846529ee6eab3343b2fe87b /cui/source/inc/transfrm.hxx | |
parent | add CVE-2015-0065 testcase (diff) | |
download | core-167bc621ef825ed5b961502fe9324a675ee34e42.tar.gz core-167bc621ef825ed5b961502fe9324a675ee34e42.zip |
Convert vcl Button Link<> click handler to typed Link<Button*,void>
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
Diffstat (limited to 'cui/source/inc/transfrm.hxx')
-rw-r--r-- | cui/source/inc/transfrm.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx index 10bc6712d2f3..6a967756f2a9 100644 --- a/cui/source/inc/transfrm.hxx +++ b/cui/source/inc/transfrm.hxx @@ -130,16 +130,16 @@ private: RECT_POINT meRP; - DECL_LINK( ChangePosProtectHdl, void * ); - DECL_LINK( ChangeSizeProtectHdl, void * ); + DECL_LINK_TYPED( ChangePosProtectHdl, Button*, void ); + DECL_LINK_TYPED( ChangeSizeProtectHdl, Button*, void ); void SetMinMaxPosition(); void GetTopLeftPosition(double& rfX, double& rfY, const basegfx::B2DRange& rRange); DECL_LINK( ChangeWidthHdl, void * ); DECL_LINK( ChangeHeightHdl, void * ); - DECL_LINK( ClickSizeProtectHdl, void * ); - DECL_LINK( ClickAutoHdl, void * ); + DECL_LINK_TYPED( ClickSizeProtectHdl, Button*, void ); + DECL_LINK_TYPED( ClickAutoHdl, Button*, void ); public: SvxPositionSizeTabPage( vcl::Window* pParent, const SfxItemSet& rInAttrs ); |