summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-17 10:16:50 +0200
committerNoel Grandin <noel@peralex.com>2015-08-17 10:16:50 +0200
commit83d9a900fd61d558cdae940ea1c6300bbeb7fab6 (patch)
treeace7e41467f4cec0f9bf611fd87b140287c4b4db /include
parent8cf544cb3a71598dcf98e6563b51d2e334c720d3 (diff)
make Link<> typed
Change-Id: If802b3ac113217251a9dc38ce1e72ca0fdf61038
Diffstat (limited to 'include')
-rw-r--r--include/svtools/PlaceEditDialog.hxx3
-rw-r--r--include/svtools/ServerDetailsControls.hxx4
2 files changed, 4 insertions, 3 deletions
diff --git a/include/svtools/PlaceEditDialog.hxx b/include/svtools/PlaceEditDialog.hxx
index c15735e46116..6ab6c5261d2e 100644
--- a/include/svtools/PlaceEditDialog.hxx
+++ b/include/svtools/PlaceEditDialog.hxx
@@ -83,7 +83,8 @@ private:
DECL_LINK ( OKHdl, Button * );
DECL_LINK ( DelHdl, Button * );
- DECL_LINK ( EditHdl, void * );
+ DECL_LINK_TYPED ( EditHdl, DetailsContainer*, void );
+ DECL_LINK ( ModifyHdl, void* );
DECL_LINK ( SelectTypeHdl, void * );
DECL_LINK ( EditLabelHdl, void * );
DECL_LINK ( EditUsernameHdl, void * );
diff --git a/include/svtools/ServerDetailsControls.hxx b/include/svtools/ServerDetailsControls.hxx
index 691f528df222..f3f02fae7f79 100644
--- a/include/svtools/ServerDetailsControls.hxx
+++ b/include/svtools/ServerDetailsControls.hxx
@@ -25,7 +25,7 @@
class DetailsContainer
{
protected:
- Link<> m_aChangeHdl;
+ Link<DetailsContainer*,void> m_aChangeHdl;
VclPtr<VclGrid> m_pDetailsGrid;
VclPtr<VclHBox> m_pHostBox;
VclPtr<Edit> m_pEDHost;
@@ -40,7 +40,7 @@ class DetailsContainer
DetailsContainer( VclBuilderContainer* pBuilder );
virtual ~DetailsContainer( );
- void setChangeHdl( const Link<>& rLink ) { m_aChangeHdl = rLink; }
+ void setChangeHdl( const Link<DetailsContainer*,void>& rLink ) { m_aChangeHdl = rLink; }
virtual void show( bool bShow = true );
virtual INetURLObject getUrl( );