summaryrefslogtreecommitdiff
path: root/sc/source/ui/namedlg/namepast.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/namedlg/namepast.cxx')
-rw-r--r--sc/source/ui/namedlg/namepast.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/namedlg/namepast.cxx b/sc/source/ui/namedlg/namepast.cxx
index 5f0c238327ef..7b64fed12108 100644
--- a/sc/source/ui/namedlg/namepast.cxx
+++ b/sc/source/ui/namedlg/namepast.cxx
@@ -77,7 +77,7 @@ void ScNamePasteDlg::dispose()
ModalDialog::dispose();
}
-IMPL_LINK( ScNamePasteDlg, ButtonHdl, Button *, pButton )
+IMPL_LINK_TYPED( ScNamePasteDlg, ButtonHdl, Button *, pButton, void )
{
if( pButton == m_pBtnPasteAll )
{
@@ -97,7 +97,6 @@ IMPL_LINK( ScNamePasteDlg, ButtonHdl, Button *, pButton )
{
EndDialog( BTN_PASTE_CLOSE );
}
- return 0;
}
std::vector<OUString> ScNamePasteDlg::GetSelectedNames() const