diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-10 14:39:17 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-11 08:48:54 +0200 |
commit | cf0c04a428754dfd5aa477cebc5441bc74e27005 (patch) | |
tree | 6d4657ec370a3378887745b34d217a91bdab2eef /xmlsecurity | |
parent | e8ee8473361f09034fdcd4f30a2325a53a512a7a (diff) |
convert Link<> to typed
Change-Id: I85658fa35b9b85106a3b9c8ef303584cad6f39b0
Diffstat (limited to 'xmlsecurity')
4 files changed, 6 insertions, 6 deletions
diff --git a/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx b/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx index a9f7bea7e94c..9e97a51c590e 100644 --- a/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx +++ b/xmlsecurity/inc/xmlsecurity/certificatechooser.hxx @@ -58,7 +58,7 @@ private: DECL_LINK_TYPED(ViewButtonHdl, Button*, void); DECL_LINK_TYPED(CertificateHighlightHdl, SvTreeListBox*, void ); - DECL_LINK( CertificateSelectHdl, void* ); + DECL_LINK_TYPED(CertificateSelectHdl, SvTreeListBox*, bool ); void ImplShowCertificateDetails(); void ImplInitialize(); diff --git a/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx b/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx index b56ddef455a2..e70a714992c7 100644 --- a/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx +++ b/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx @@ -92,7 +92,7 @@ private: DECL_LINK_TYPED(AddButtonHdl, Button*, void); DECL_LINK_TYPED(RemoveButtonHdl, Button*, void); DECL_LINK_TYPED(SignatureHighlightHdl, SvTreeListBox*, void ); - DECL_LINK( SignatureSelectHdl, void* ); + DECL_LINK_TYPED(SignatureSelectHdl, SvTreeListBox*, bool ); DECL_LINK( StartVerifySignatureHdl, void* ); DECL_LINK_TYPED(OKButtonHdl, Button*, void ); diff --git a/xmlsecurity/source/dialogs/certificatechooser.cxx b/xmlsecurity/source/dialogs/certificatechooser.cxx index 5f015f39c0d2..20b1dc37ab7a 100644 --- a/xmlsecurity/source/dialogs/certificatechooser.cxx +++ b/xmlsecurity/source/dialogs/certificatechooser.cxx @@ -207,10 +207,10 @@ IMPL_LINK_NOARG_TYPED(CertificateChooser, CertificateHighlightHdl, SvTreeListBox m_pOKBtn->Enable( bEnable ); } -IMPL_LINK_NOARG(CertificateChooser, CertificateSelectHdl) +IMPL_LINK_NOARG_TYPED(CertificateChooser, CertificateSelectHdl, SvTreeListBox*, bool) { EndDialog( RET_OK ); - return 0; + return false; } IMPL_LINK_NOARG_TYPED(CertificateChooser, ViewButtonHdl, Button*, void) diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx index 627cae6ea282..0c3fb39ebcda 100644 --- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx +++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx @@ -407,10 +407,10 @@ IMPL_LINK_NOARG_TYPED(DigitalSignaturesDialog, OKButtonHdl, Button*, void) EndDialog(RET_OK); } -IMPL_LINK_NOARG(DigitalSignaturesDialog, SignatureSelectHdl) +IMPL_LINK_NOARG_TYPED(DigitalSignaturesDialog, SignatureSelectHdl, SvTreeListBox*, bool) { ImplShowSignaturesDetails(); - return 0; + return false; } IMPL_LINK_NOARG_TYPED(DigitalSignaturesDialog, ViewButtonHdl, Button*, void) |