summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-10-04 15:05:38 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-12 10:48:13 +0000
commit3c99f8500f657ed84b316390d5175a6f5e56bc69 (patch)
tree749f16652560a50d409b12a23bf1a5d93b3cd2d5 /include/sfx2
parentbbadb38539eb233ac45b267034066a7274181c65 (diff)
convert Link<> to typed
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/dinfdlg.hxx2
-rw-r--r--include/sfx2/mgetempl.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index c33120863f34..77cd59561307 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -426,7 +426,7 @@ private:
Idle m_aBoxLoseFocusIdle;
Link<void*,void> m_aRemovedHdl;
- DECL_STATIC_LINK( CustomPropertiesWindow, TypeHdl, CustomPropertiesTypeBox* );
+ DECL_STATIC_LINK_TYPED( CustomPropertiesWindow, TypeHdl, ListBox&, void );
DECL_LINK_TYPED( RemoveHdl, Button*, void );
DECL_LINK_TYPED( EditLoseFocusHdl, Control&, void );
DECL_LINK_TYPED( BoxLoseFocusHdl, Control&, void );
diff --git a/include/sfx2/mgetempl.hxx b/include/sfx2/mgetempl.hxx
index f719b721a95e..f8d353c8a85b 100644
--- a/include/sfx2/mgetempl.hxx
+++ b/include/sfx2/mgetempl.hxx
@@ -71,9 +71,9 @@ friend class SfxStyleDialog;
DECL_LINK_TYPED( GetFocusHdl, Control&, void );
DECL_LINK_TYPED( LoseFocusHdl, Control&, void );
- DECL_LINK( EditStyleSelectHdl_Impl, void * );
+ DECL_LINK_TYPED( EditStyleSelectHdl_Impl, ListBox&, void );
DECL_LINK_TYPED( EditStyleHdl_Impl, Button*, void );
- DECL_LINK( EditLinkStyleSelectHdl_Impl, void * );
+ DECL_LINK_TYPED( EditLinkStyleSelectHdl_Impl, ListBox&, void );
DECL_LINK_TYPED( EditLinkStyleHdl_Impl, Button*, void );
void UpdateName_Impl(ListBox *, const OUString &rNew);