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/options/optjava.hxx | |
parent | 46a27805fb707544a844a961a3743b8b992282f0 (diff) |
Convert vcl Button Link<> click handler to typed Link<Button*,void>
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
Diffstat (limited to 'cui/source/options/optjava.hxx')
-rw-r--r-- | cui/source/options/optjava.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cui/source/options/optjava.hxx b/cui/source/options/optjava.hxx index 06bd595bb81b..70acc0e922c9 100644 --- a/cui/source/options/optjava.hxx +++ b/cui/source/options/optjava.hxx @@ -84,18 +84,18 @@ private: css::uno::Reference< ::svt::DialogClosedListener > xDialogListener; css::uno::Reference< css::ui::dialogs::XFolderPicker2 > xFolderPicker; - DECL_LINK(EnableHdl_Impl, void *); + DECL_LINK_TYPED(EnableHdl_Impl, Button*, void); DECL_LINK( CheckHdl_Impl, SvSimpleTable * ); DECL_LINK(SelectHdl_Impl, void *); - DECL_LINK(AddHdl_Impl, void *); - DECL_LINK(ParameterHdl_Impl, void *); - DECL_LINK(ClassPathHdl_Impl, void *); + DECL_LINK_TYPED(AddHdl_Impl, Button*, void); + DECL_LINK_TYPED(ParameterHdl_Impl, Button*, void); + DECL_LINK_TYPED(ClassPathHdl_Impl, Button*, void); DECL_LINK_TYPED(ResetHdl_Impl, Idle *, void); DECL_LINK( StartFolderPickerHdl, void * ); DECL_LINK_TYPED( DialogClosedHdl, css::ui::dialogs::DialogClosedEvent*, void ); - DECL_LINK(ExpertConfigHdl_Impl, void *); + DECL_LINK_TYPED(ExpertConfigHdl_Impl, Button*, void); void ClearJavaInfo(); void ClearJavaList(); @@ -128,10 +128,10 @@ private: VclPtr<PushButton> m_pRemoveBtn; DECL_LINK(ModifyHdl_Impl, void *); - DECL_LINK(AssignHdl_Impl, void *); + DECL_LINK_TYPED(AssignHdl_Impl, Button*, void); DECL_LINK(SelectHdl_Impl, void *); DECL_LINK(DblClickHdl_Impl, void *); - DECL_LINK(RemoveHdl_Impl, void *); + DECL_LINK_TYPED(RemoveHdl_Impl, Button*, void); inline void EnableRemoveButton() { m_pRemoveBtn->Enable( @@ -162,9 +162,9 @@ private: OUString m_sOldPath; - DECL_LINK(AddArchiveHdl_Impl, void *); - DECL_LINK(AddPathHdl_Impl, void *); - DECL_LINK(RemoveHdl_Impl, void *); + DECL_LINK_TYPED(AddArchiveHdl_Impl, Button*, void); + DECL_LINK_TYPED(AddPathHdl_Impl, Button*, void); + DECL_LINK_TYPED(RemoveHdl_Impl, Button*, void); DECL_LINK(SelectHdl_Impl, void *); bool IsPathDuplicate( const OUString& _rPath ); |