summaryrefslogtreecommitdiff
path: root/xmlsecurity/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-16 16:24:33 +0200
committerNoel Grandin <noel@peralex.com>2015-09-17 08:19:34 +0200
commit39da0a99672d9066dbe417288566d43ed71e24dd (patch)
treed12b14ce3d9dff02700f7dc301404522c48645ff /xmlsecurity/inc
parent1e2119fd0211b671cad7ba7005a99a1da1a0caf5 (diff)
convert Link<> to typed
Change-Id: I2a149a0a2a189ca84ce8e71f32d0f3696a0bb50d
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r--xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx2
-rw-r--r--xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx10
2 files changed, 6 insertions, 6 deletions
diff --git a/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx b/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx
index e70a714992c7..aeb6fdb628f6 100644
--- a/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx
+++ b/xmlsecurity/inc/xmlsecurity/digitalsignaturesdialog.hxx
@@ -93,7 +93,7 @@ private:
DECL_LINK_TYPED(RemoveButtonHdl, Button*, void);
DECL_LINK_TYPED(SignatureHighlightHdl, SvTreeListBox*, void );
DECL_LINK_TYPED(SignatureSelectHdl, SvTreeListBox*, bool );
- DECL_LINK( StartVerifySignatureHdl, void* );
+ DECL_LINK_TYPED(StartVerifySignatureHdl, LinkParamNone*, bool );
DECL_LINK_TYPED(OKButtonHdl, Button*, void );
void ImplGetSignatureInformations(bool bUseTempStream);
diff --git a/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx b/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx
index 80f2bffa2695..150eaef4ddaa 100644
--- a/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx
+++ b/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx
@@ -105,12 +105,12 @@ private:
XSecController* mpXSecController;
bool mbError;
bool mbODFPre1_2;
- Link<> maStartVerifySignatureHdl;
+ Link<LinkParamNone*,bool> maStartVerifySignatureHdl;
private:
- DECL_LINK( SignatureCreationResultListener, XMLSignatureCreationResult*);
- DECL_LINK( SignatureVerifyResultListener, XMLSignatureVerifyResult* );
- DECL_LINK( StartVerifySignatureElement, const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList >* );
+ DECL_LINK_TYPED( SignatureCreationResultListener, XMLSignatureCreationResult&, void );
+ DECL_LINK_TYPED( SignatureVerifyResultListener, XMLSignatureVerifyResult&, void );
+ DECL_LINK_TYPED( StartVerifySignatureElement, LinkParamNone*, void );
XMLSignatureHelper(const XMLSignatureHelper&) SAL_DELETED_FUNCTION;
@@ -130,7 +130,7 @@ public:
// Argument for the Link is a uno::Reference< xml::sax::XAttributeList >*
// Return 1 to verify, 0 to skip.
// Default handler will verify all.
- void SetStartVerifySignatureHdl( const Link<>& rLink );
+ void SetStartVerifySignatureHdl( const Link<LinkParamNone*,bool>& rLink );
// Get the security environment
::com::sun::star::uno::Reference< ::com::sun::star::xml::crypto::XSecurityEnvironment > GetSecurityEnvironment();