diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-09-24 18:59:52 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-25 18:19:12 +0000 |
commit | 51b2ad378a8531a7b02433594cd7f6bbd6a61222 (patch) | |
tree | b4d32c26ac00aeb87d5d82d4f33431d43f91ed0e /sd/source/ui/docshell | |
parent | 825b9982a5de3ab94820ce5257bb446ea0a1c20a (diff) |
convert Link<> to typed
Change-Id: I9a85b8d6557490775c3d8482ac49bd27c51b6c8a
Reviewed-on: https://gerrit.libreoffice.org/18853
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source/ui/docshell')
-rw-r--r-- | sd/source/ui/docshell/docshel2.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sd/source/ui/docshell/docshel2.cxx b/sd/source/ui/docshell/docshel2.cxx index 88d14a6920f9..87b97987748f 100644 --- a/sd/source/ui/docshell/docshel2.cxx +++ b/sd/source/ui/docshell/docshel2.cxx @@ -410,16 +410,13 @@ bool DrawDocShell::IsNewPageNameValid( OUString & rInOutPageName, bool bResetStr return bCanUseNewName; } -IMPL_LINK( DrawDocShell, RenameSlideHdl, AbstractSvxNameDialog*, pDialog ) +IMPL_LINK_TYPED( DrawDocShell, RenameSlideHdl, AbstractSvxNameDialog&, rDialog, bool ) { - if( ! pDialog ) - return long(false); - OUString aNewName; - pDialog->GetName( aNewName ); - - return long(IsNewPageNameValid( aNewName )); + rDialog.GetName( aNewName ); + return IsNewPageNameValid( aNewName ); } + } // end of namespace sd /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |