diff options
Diffstat (limited to 'cui/source/dialogs/about.cxx')
-rw-r--r-- | cui/source/dialogs/about.cxx | 6 |
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() |