diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-07 09:35:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-08 08:16:46 +0200 |
commit | 61623d5b90510ae6c791a41031d586a9316e74c4 (patch) | |
tree | 0b5a8115ae6d603cbe6208b958d8b440ea8fd06f /xmlsecurity/inc | |
parent | d7efea29cdc2faa57d172d7e4d8def18fd49536c (diff) |
convert Link<> to typed
Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f
Diffstat (limited to 'xmlsecurity/inc')
4 files changed, 13 insertions, 12 deletions
diff --git a/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx b/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx index 887338c32818..a9f7bea7e94c 100644 --- a/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx +++ b/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx @@ -46,17 +46,18 @@ private: css::uno::Reference< css::uno::XComponentContext > mxCtx; css::uno::Reference< css::xml::crypto::XSecurityEnvironment > mxSecurityEnvironment; css::uno::Sequence< css::uno::Reference< css::security::XCertificate > > maCerts; - SignatureInformations maCertsToIgnore; + SignatureInformations maCertsToIgnore; - VclPtr<SvSimpleTable> m_pCertLB; - VclPtr<PushButton> m_pViewBtn; - VclPtr<OKButton> m_pOKBtn; + VclPtr<SvSimpleTable> m_pCertLB; + VclPtr<PushButton> m_pViewBtn; + VclPtr<OKButton> m_pOKBtn; - bool mbInitialized; + bool mbInitialized; sal_uInt16 GetSelectedEntryPos() const; + DECL_LINK_TYPED(ViewButtonHdl, Button*, void); - DECL_LINK( CertificateHighlightHdl, void* ); + DECL_LINK_TYPED(CertificateHighlightHdl, SvTreeListBox*, void ); DECL_LINK( CertificateSelectHdl, void* ); void ImplShowCertificateDetails(); diff --git a/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx b/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx index b3b6de53ece5..53499cd875b7 100644 --- a/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx +++ b/xmlsecurity/inc/xmlsecurity/certificateviewer.hxx @@ -102,7 +102,7 @@ private: vcl::Font m_aStdFont; vcl::Font m_aFixedWidthFont; - DECL_LINK( ElementSelectHdl, void* ); + DECL_LINK_TYPED( ElementSelectHdl, SvTreeListBox*, void ); void Clear(); void InsertElement( const OUString& _rField, const OUString& _rValue, const OUString& _rDetails, bool _bFixedWidthFont = false ); @@ -130,9 +130,9 @@ private: OUString msCertNotValidated; DECL_LINK_TYPED( ViewCertHdl, Button*, void ); - DECL_LINK( CertSelectHdl, void* ); + DECL_LINK_TYPED( CertSelectHdl, SvTreeListBox*, void ); void Clear(); - SvTreeListEntry* InsertCert( SvTreeListEntry* _pParent, const OUString& _rName, + SvTreeListEntry* InsertCert( SvTreeListEntry* _pParent, const OUString& _rName, css::uno::Reference< css::security::XCertificate > rxCert, bool bValid); diff --git a/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx b/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx index 843d450f9cb4..b56ddef455a2 100644 --- a/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx +++ b/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx @@ -91,10 +91,10 @@ private: DECL_LINK_TYPED(ViewButtonHdl, Button*, void); DECL_LINK_TYPED(AddButtonHdl, Button*, void); DECL_LINK_TYPED(RemoveButtonHdl, Button*, void); - DECL_LINK( SignatureHighlightHdl, void* ); + DECL_LINK_TYPED(SignatureHighlightHdl, SvTreeListBox*, void ); DECL_LINK( SignatureSelectHdl, void* ); DECL_LINK( StartVerifySignatureHdl, void* ); - DECL_LINK_TYPED( OKButtonHdl, Button*, 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 ae1bca6a2183..1bd89e1d7a17 100644 --- a/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx +++ b/xmlsecurity/inc/xmlsecurity/macrosecurity.hxx @@ -131,7 +131,7 @@ private: DECL_LINK_TYPED( RemoveCertPBHdl, Button*, void ); DECL_LINK_TYPED( AddLocPBHdl, Button*, void ); DECL_LINK_TYPED( RemoveLocPBHdl, Button*, void ); - DECL_LINK( TrustCertLBSelectHdl, void* ); + DECL_LINK_TYPED( TrustCertLBSelectHdl, SvTreeListBox*, void ); DECL_LINK( TrustFileLocLBSelectHdl, void* ); void FillCertLB(); |