summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-15 08:33:41 +0200
committerNoel Grandin <noel@peralex.com>2015-09-15 09:37:32 +0200
commit98236528da98fda429671d8146e4f28c99b0c65a (patch)
tree20e3c2a143a37fb31a876cc970288196655fd7e0 /sd/source/ui
parent662084d5cb0256a1e2f4654b0dcf78930dfd38fc (diff)
convert Link<> to typed
Change-Id: I5c4021c9cb3fdeace7f7d99d580dc7fe2f7c354a
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/dlg/RemoteDialog.cxx7
-rw-r--r--sd/source/ui/dlg/RemoteDialog.hxx2
2 files changed, 4 insertions, 5 deletions
diff --git a/sd/source/ui/dlg/RemoteDialog.cxx b/sd/source/ui/dlg/RemoteDialog.cxx
index 06f70ef3f49a..b630edf51cba 100644
--- a/sd/source/ui/dlg/RemoteDialog.cxx
+++ b/sd/source/ui/dlg/RemoteDialog.cxx
@@ -55,22 +55,21 @@ IMPL_LINK_NOARG_TYPED(RemoteDialog, HandleConnectButton, Button*, void)
OUString aPin ( m_pClientBox->getPin() );
if ( RemoteServer::connectClient( aEntry->m_pClientInfo, aPin ) )
{
- CloseHdl( 0 );
+ CloseHdl( *this );
}
#endif
}
IMPL_LINK_NOARG_TYPED( RemoteDialog, CloseClickHdl, Button*, void )
{
- CloseHdl(NULL);
+ CloseHdl(*this);
}
-IMPL_LINK_NOARG( RemoteDialog, CloseHdl )
+IMPL_LINK_NOARG_TYPED( RemoteDialog, CloseHdl, SystemWindow&, void )
{
#ifdef ENABLE_SDREMOTE
RemoteServer::restoreDiscoverable();
#endif
Close();
- return 0;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sd/source/ui/dlg/RemoteDialog.hxx b/sd/source/ui/dlg/RemoteDialog.hxx
index 764d84469ef7..68bc9470e8b4 100644
--- a/sd/source/ui/dlg/RemoteDialog.hxx
+++ b/sd/source/ui/dlg/RemoteDialog.hxx
@@ -29,7 +29,7 @@ private:
VclPtr<ClientBox> m_pClientBox;
DECL_DLLPRIVATE_LINK_TYPED( HandleConnectButton, Button*, void );
- DECL_LINK( CloseHdl, void* );
+ DECL_LINK_TYPED( CloseHdl, SystemWindow&, void );
DECL_LINK_TYPED( CloseClickHdl, Button*, void );
public:
RemoteDialog( vcl::Window* pWindow );