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 /xmlsecurity/inc | |
parent | 46a27805fb707544a844a961a3743b8b992282f0 (diff) |
Convert vcl Button Link<> click handler to typed Link<Button*,void>
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
Diffstat (limited to 'xmlsecurity/inc')
4 files changed, 12 insertions, 12 deletions
diff --git a/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx b/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx index 353473ca6c8d..887338c32818 100644 --- a/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx +++ b/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx @@ -55,7 +55,7 @@ private: bool mbInitialized; sal_uInt16 GetSelectedEntryPos() const; - DECL_LINK(ViewButtonHdl, void *); + DECL_LINK_TYPED(ViewButtonHdl, Button*, void); DECL_LINK( CertificateHighlightHdl, void* ); DECL_LINK( CertificateSelectHdl, void* ); diff --git a/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx b/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx index 2a0134a0d5a9..b3b6de53ece5 100644 --- a/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx +++ b/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx @@ -129,7 +129,7 @@ private: OUString msCertOK; OUString msCertNotValidated; - DECL_LINK( ViewCertHdl, void* ); + DECL_LINK_TYPED( ViewCertHdl, Button*, void ); DECL_LINK( CertSelectHdl, void* ); void Clear(); SvTreeListEntry* InsertCert( SvTreeListEntry* _pParent, const OUString& _rName, diff --git a/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx b/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx index a3cdb392bb45..843d450f9cb4 100644 --- a/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx +++ b/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx @@ -88,13 +88,13 @@ private: bool m_bHasDocumentSignature; bool m_bWarningShowSignMacro; - DECL_LINK(ViewButtonHdl, void *); - DECL_LINK(AddButtonHdl, void *); - DECL_LINK(RemoveButtonHdl, void *); + DECL_LINK_TYPED(ViewButtonHdl, Button*, void); + DECL_LINK_TYPED(AddButtonHdl, Button*, void); + DECL_LINK_TYPED(RemoveButtonHdl, Button*, void); DECL_LINK( SignatureHighlightHdl, void* ); DECL_LINK( SignatureSelectHdl, void* ); DECL_LINK( StartVerifySignatureHdl, void* ); - DECL_LINK( OKButtonHdl, void* ); + DECL_LINK_TYPED( OKButtonHdl, Button*, void ); void ImplGetSignatureInformations(bool bUseTempStream); void ImplFillSignaturesBox(); diff --git a/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx b/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx index 1d0b18addae5..ae1bca6a2183 100644 --- a/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx +++ b/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx @@ -61,7 +61,7 @@ private: VclPtr<MacroSecurityTP> mpLevelTP; VclPtr<MacroSecurityTP> mpTrustSrcTP; - DECL_LINK( OkBtnHdl, void* ); + DECL_LINK_TYPED( OkBtnHdl, Button*, void ); public: MacroSecurity(vcl::Window* pParent, const css::uno::Reference< css::uno::XComponentContext>& rxCtx, @@ -99,7 +99,7 @@ private: sal_uInt16 mnCurLevel; protected: - DECL_LINK(RadioButtonHdl, void *); + DECL_LINK_TYPED(RadioButtonHdl, Button*, void); public: MacroSecurityLevelTP( vcl::Window* pParent, MacroSecurity* _pDlg ); @@ -127,10 +127,10 @@ private: bool mbAuthorsReadonly; bool mbURLsReadonly; - DECL_LINK( ViewCertPBHdl, void* ); - DECL_LINK( RemoveCertPBHdl, void* ); - DECL_LINK( AddLocPBHdl, void* ); - DECL_LINK( RemoveLocPBHdl, void* ); + DECL_LINK_TYPED( ViewCertPBHdl, Button*, void ); + DECL_LINK_TYPED( RemoveCertPBHdl, Button*, void ); + DECL_LINK_TYPED( AddLocPBHdl, Button*, void ); + DECL_LINK_TYPED( RemoveLocPBHdl, Button*, void ); DECL_LINK( TrustCertLBSelectHdl, void* ); DECL_LINK( TrustFileLocLBSelectHdl, void* ); |