diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-10-04 15:05:38 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-12 10:48:13 +0000 |
commit | 3c99f8500f657ed84b316390d5175a6f5e56bc69 (patch) | |
tree | 749f16652560a50d409b12a23bf1a5d93b3cd2d5 /include/svtools | |
parent | valgrind: fix leak (diff) | |
download | core-3c99f8500f657ed84b316390d5175a6f5e56bc69.tar.gz core-3c99f8500f657ed84b316390d5175a6f5e56bc69.zip |
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/svtools')
-rw-r--r-- | include/svtools/PlaceEditDialog.hxx | 2 | ||||
-rw-r--r-- | include/svtools/ServerDetailsControls.hxx | 2 | ||||
-rw-r--r-- | include/svtools/addresstemplate.hxx | 2 | ||||
-rw-r--r-- | include/svtools/editbrowsebox.hxx | 3 | ||||
-rw-r--r-- | include/svtools/prnsetup.hxx | 2 |
5 files changed, 7 insertions, 4 deletions
diff --git a/include/svtools/PlaceEditDialog.hxx b/include/svtools/PlaceEditDialog.hxx index 11ddc5fe5e97..92bafdb75be9 100644 --- a/include/svtools/PlaceEditDialog.hxx +++ b/include/svtools/PlaceEditDialog.hxx @@ -86,7 +86,7 @@ private: DECL_LINK_TYPED ( DelHdl, Button *, void ); DECL_LINK_TYPED ( EditHdl, DetailsContainer*, void ); DECL_LINK ( ModifyHdl, void* ); - DECL_LINK ( SelectTypeHdl, void * ); + DECL_LINK_TYPED ( SelectTypeHdl, ListBox&, void ); DECL_LINK ( EditLabelHdl, void * ); DECL_LINK ( EditUsernameHdl, void * ); diff --git a/include/svtools/ServerDetailsControls.hxx b/include/svtools/ServerDetailsControls.hxx index 18ca39d6b40a..377cbc3370a6 100644 --- a/include/svtools/ServerDetailsControls.hxx +++ b/include/svtools/ServerDetailsControls.hxx @@ -149,7 +149,7 @@ class CmisDetailsContainer : public DetailsContainer private: void selectRepository( ); DECL_LINK_TYPED ( RefreshReposHdl, Button*, void ); - DECL_LINK ( SelectRepoHdl, void * ); + DECL_LINK_TYPED ( SelectRepoHdl, ListBox&, void ); }; #endif diff --git a/include/svtools/addresstemplate.hxx b/include/svtools/addresstemplate.hxx index 00b532a0ba3a..75aa5f7fd8dc 100644 --- a/include/svtools/addresstemplate.hxx +++ b/include/svtools/addresstemplate.hxx @@ -126,7 +126,7 @@ namespace svt void loadConfiguration(); DECL_LINK_TYPED(OnFieldScroll, ScrollBar*, void); - DECL_LINK(OnFieldSelect, ListBox*); + DECL_LINK_TYPED(OnFieldSelect, ListBox&, void); DECL_LINK_TYPED(OnAdministrateDatasources, Button*, void); DECL_STATIC_LINK_TYPED(AddressBookSourceDialog, OnComboGetFocus, Control&, void); DECL_LINK_TYPED(OnComboLoseFocus, Control&, void); diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx index 753e0684f8e9..afe8adccbaae 100644 --- a/include/svtools/editbrowsebox.hxx +++ b/include/svtools/editbrowsebox.hxx @@ -389,6 +389,9 @@ namespace svt protected: virtual bool MoveAllowed(const KeyEvent& rEvt) const SAL_OVERRIDE; virtual void SetModifyHdl(const Link<>& rLink) SAL_OVERRIDE; + private: + Link<> maModifyHdl; + DECL_LINK_TYPED(ListBoxSelectHdl, ListBox&, void); }; diff --git a/include/svtools/prnsetup.hxx b/include/svtools/prnsetup.hxx index 3c7c5848a788..afec7688e160 100644 --- a/include/svtools/prnsetup.hxx +++ b/include/svtools/prnsetup.hxx @@ -54,7 +54,7 @@ private: SVT_DLLPRIVATE void ImplSetInfo(); DECL_DLLPRIVATE_LINK_TYPED( ImplPropertiesHdl, Button*, void ); - DECL_DLLPRIVATE_LINK( ImplChangePrinterHdl, void* ); + DECL_DLLPRIVATE_LINK_TYPED( ImplChangePrinterHdl, ListBox&, void ); DECL_DLLPRIVATE_LINK_TYPED( ImplStatusHdl, Timer*, void ); public: |