summaryrefslogtreecommitdiff
path: root/uui/source/unknownauthdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/unknownauthdlg.cxx')
-rw-r--r--uui/source/unknownauthdlg.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/uui/source/unknownauthdlg.cxx b/uui/source/unknownauthdlg.cxx
index f51606e39c80..8d0ac80904df 100644
--- a/uui/source/unknownauthdlg.cxx
+++ b/uui/source/unknownauthdlg.cxx
@@ -29,7 +29,7 @@ using namespace css;
-IMPL_LINK_NOARG(UnknownAuthDialog, OKHdl_Impl)
+IMPL_LINK_NOARG_TYPED(UnknownAuthDialog, OKHdl_Impl, Button*, void)
{
if ( m_pOptionButtonAccept->IsChecked() )
{
@@ -38,13 +38,11 @@ IMPL_LINK_NOARG(UnknownAuthDialog, OKHdl_Impl)
{
EndDialog();
}
-
- return 1;
}
-IMPL_LINK_NOARG(UnknownAuthDialog, ViewCertHdl_Impl)
+IMPL_LINK_NOARG_TYPED(UnknownAuthDialog, ViewCertHdl_Impl, Button*, void)
{
uno::Reference< css::security::XDocumentDigitalSignatures > xDocumentDigitalSignatures;
@@ -52,8 +50,6 @@ IMPL_LINK_NOARG(UnknownAuthDialog, ViewCertHdl_Impl)
css::security::DocumentDigitalSignatures::createDefault(m_xContext) );
xDocumentDigitalSignatures.get()->showCertificate(getCert());
-
- return 0;
}