summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/about.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-19 09:11:34 +0200
committerNoel Grandin <noel@peralex.com>2015-08-26 11:15:35 +0200
commit167bc621ef825ed5b961502fe9324a675ee34e42 (patch)
tree523838d8adc14a62f846529ee6eab3343b2fe87b /cui/source/dialogs/about.cxx
parent46a27805fb707544a844a961a3743b8b992282f0 (diff)
Convert vcl Button Link<> click handler to typed Link<Button*,void>
Change-Id: Ie80dfb003118d40741549c41ebcc7eda4819f05b
Diffstat (limited to 'cui/source/dialogs/about.cxx')
-rw-r--r--cui/source/dialogs/about.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/cui/source/dialogs/about.cxx b/cui/source/dialogs/about.cxx
index eeeadd13e7d9..310082ce1441 100644
--- a/cui/source/dialogs/about.cxx
+++ b/cui/source/dialogs/about.cxx
@@ -115,7 +115,7 @@ void AboutDialog::dispose()
SfxModalDialog::dispose();
}
-IMPL_LINK( AboutDialog, HandleClick, PushButton*, pButton )
+IMPL_LINK_TYPED( AboutDialog, HandleClick, Button*, pButton, void )
{
OUString sURL = "";
@@ -131,7 +131,7 @@ IMPL_LINK( AboutDialog, HandleClick, PushButton*, pButton )
// If the URL is empty, don't do anything
if ( sURL.isEmpty() )
- return 1;
+ return;
try
{
Reference< css::system::XSystemShellExecute > xSystemShellExecute(
@@ -147,8 +147,6 @@ IMPL_LINK( AboutDialog, HandleClick, PushButton*, pButton )
aErrorBox->SetText( GetText() );
aErrorBox->Execute();
}
-
- return 1;
}
void AboutDialog::StyleControls()