summaryrefslogtreecommitdiffstats
path: root/cui/source/inc/cuigaldlg.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-19 09:11:34 +0200
committerNoel Grandin <noel@peralex.com>2015-08-26 11:15:35 +0200
commit167bc621ef825ed5b961502fe9324a675ee34e42 (patch)
tree523838d8adc14a62f846529ee6eab3343b2fe87b /cui/source/inc/cuigaldlg.hxx
parentadd CVE-2015-0065 testcase (diff)
downloadcore-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/cuigaldlg.hxx')
-rw-r--r--cui/source/inc/cuigaldlg.hxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/cui/source/inc/cuigaldlg.hxx b/cui/source/inc/cuigaldlg.hxx
index 64c92e5c62d4..1883de8d57fe 100644
--- a/cui/source/inc/cuigaldlg.hxx
+++ b/cui/source/inc/cuigaldlg.hxx
@@ -88,7 +88,7 @@ private:
INetURLObject startUrl_;
rtl::Reference< SearchThread > maSearchThread;
- DECL_LINK( ClickCancelBtn, void* );
+ DECL_LINK_TYPED( ClickCancelBtn, Button*, void );
void Terminate();
public:
@@ -133,7 +133,7 @@ private:
rtl::Reference< TakeThread > maTakeThread;
TokenList_impl maTakenList;
- DECL_LINK( ClickCancelBtn, void* );
+ DECL_LINK_TYPED( ClickCancelBtn, Button*, void );
void Terminate();
public:
@@ -158,7 +158,7 @@ private:
GalleryTheme* pTheme;
GalleryProgress aStatusProgress;
- DECL_LINK( ClickCancelBtn, void* );
+ DECL_LINK_TYPED( ClickCancelBtn, Button*, void );
DECL_LINK_TYPED( TimeoutHdl, Idle*, void );
DECL_LINK( ActualizeHdl, INetURLObject* );
@@ -188,7 +188,7 @@ private:
VclPtr<ListBox> m_pLbResName;
GalleryTheme* pThm;
- DECL_LINK( ClickOkHdl, void* );
+ DECL_LINK_TYPED( ClickOkHdl, Button*, void );
public:
GalleryIdDialog( vcl::Window* pParent, GalleryTheme* pThm );
virtual ~GalleryIdDialog();
@@ -278,10 +278,10 @@ class TPGalleryThemeProperties : public SfxTabPage
void TakeFiles();
void DoPreview();
- DECL_LINK( ClickPreviewHdl, void* );
- DECL_LINK( ClickSearchHdl, void* );
- DECL_LINK( ClickTakeHdl, void* );
- DECL_LINK( ClickTakeAllHdl, void* );
+ DECL_LINK_TYPED( ClickPreviewHdl, Button*, void );
+ DECL_LINK_TYPED( ClickSearchHdl, Button*, void );
+ DECL_LINK_TYPED( ClickTakeHdl, Button*, void );
+ DECL_LINK_TYPED( ClickTakeAllHdl, Button*, void );
DECL_LINK( SelectFoundHdl, void* );
DECL_LINK( SelectFileTypeHdl, void* );
DECL_LINK( DClickFoundHdl, void* );