summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/dialogs/certificatechooser.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-03-01 18:00:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2012-03-01 18:00:32 +0100
commitbd205223ec029a875c662474bb6d423d3cdd1994 (patch)
tree6531a292edb0d2a13103a4c55cbd10e7137b8a58 /xmlsecurity/source/dialogs/certificatechooser.cxx
parent32781c2d268ed94eb46318a0398385baf31368c4 (diff)
New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem.
Diffstat (limited to 'xmlsecurity/source/dialogs/certificatechooser.cxx')
-rw-r--r--xmlsecurity/source/dialogs/certificatechooser.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlsecurity/source/dialogs/certificatechooser.cxx b/xmlsecurity/source/dialogs/certificatechooser.cxx
index bcafd92fbbca..6651fa0f4a9e 100644
--- a/xmlsecurity/source/dialogs/certificatechooser.cxx
+++ b/xmlsecurity/source/dialogs/certificatechooser.cxx
@@ -122,7 +122,7 @@ short CertificateChooser::Execute()
return ModalDialog::Execute();
}
-// IMPL_LINK( CertificateChooser, Initialize, void*, EMPTYARG )
+// IMPL_LINK_NOARG(CertificateChooser, Initialize)
void CertificateChooser::ImplInitialize()
{
if ( !mbInitialized )
@@ -206,7 +206,7 @@ uno::Reference< dcss::security::XCertificate > CertificateChooser::GetSelectedCe
return xCert;
}
-IMPL_LINK( CertificateChooser, CertificateHighlightHdl, void*, EMPTYARG )
+IMPL_LINK_NOARG(CertificateChooser, CertificateHighlightHdl)
{
sal_Bool bEnable = GetSelectedCertificate().is();
maViewBtn.Enable( bEnable );
@@ -214,13 +214,13 @@ IMPL_LINK( CertificateChooser, CertificateHighlightHdl, void*, EMPTYARG )
return 0;
}
-IMPL_LINK( CertificateChooser, CertificateSelectHdl, void*, EMPTYARG )
+IMPL_LINK_NOARG(CertificateChooser, CertificateSelectHdl)
{
EndDialog( RET_OK );
return 0;
}
-IMPL_LINK( CertificateChooser, ViewButtonHdl, Button*, EMPTYARG )
+IMPL_LINK_NOARG(CertificateChooser, ViewButtonHdl)
{
ImplShowCertificateDetails();
return 0;