summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-02 09:20:08 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-03 07:20:27 +0000
commit5beffcf3f1fd96fb9909b93759f8537417048863 (patch)
tree4c3818fa030c9b5f99a7abd3a39b68945a0c41e3 /include
parent84945163ab6496d22ca814880cfd14ceb33c5f14 (diff)
convert Link<> to typed
Change-Id: Ic0482dc5ed26eb2fc6ccde73022eff8b4786de83 Reviewed-on: https://gerrit.libreoffice.org/18258 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/tabdlg.hxx4
-rw-r--r--include/sfx2/templatedlg.hxx2
-rw-r--r--include/vcl/tabctrl.hxx8
3 files changed, 7 insertions, 7 deletions
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx
index 3f5fa9949501..603b1bd4d110 100644
--- a/include/sfx2/tabdlg.hxx
+++ b/include/sfx2/tabdlg.hxx
@@ -89,8 +89,8 @@ friend class SfxTabDialogController;
bool bItemsReset;
bool bStandardPushed;
- DECL_DLLPRIVATE_LINK(ActivatePageHdl, TabControl * );
- DECL_DLLPRIVATE_LINK_TYPED(DeactivatePageHdl, TabControl *, bool );
+ DECL_DLLPRIVATE_LINK_TYPED(ActivatePageHdl, TabControl*, void );
+ DECL_DLLPRIVATE_LINK_TYPED(DeactivatePageHdl, TabControl*, bool );
DECL_DLLPRIVATE_LINK_TYPED(OkHdl, Button*, void);
DECL_DLLPRIVATE_LINK_TYPED(ResetHdl, Button*, void);
DECL_DLLPRIVATE_LINK_TYPED(BaseFmtHdl, Button*, void);
diff --git a/include/sfx2/templatedlg.hxx b/include/sfx2/templatedlg.hxx
index 9272c9088efc..ceb96c211106 100644
--- a/include/sfx2/templatedlg.hxx
+++ b/include/sfx2/templatedlg.hxx
@@ -57,7 +57,7 @@ public:
void setDocumentModel (const com::sun::star::uno::Reference<com::sun::star::frame::XModel> &rModel);
- DECL_LINK(ActivatePageHdl, void*);
+ DECL_LINK_TYPED(ActivatePageHdl, TabControl*, void);
private:
diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx
index cf6135e7a411..69e488692766 100644
--- a/include/vcl/tabctrl.hxx
+++ b/include/vcl/tabctrl.hxx
@@ -58,8 +58,8 @@ private:
bool mbRestoreUnqId;
bool mbSmallInvalidate;
bool mbLayoutDirty;
- Link<> maActivateHdl;
- Link<TabControl *, bool> maDeactivateHdl;
+ Link<TabControl*,void> maActivateHdl;
+ Link<TabControl*,bool> maDeactivateHdl;
using Control::ImplInitSettings;
SAL_DLLPRIVATE void ImplInitSettings( bool bFont, bool bForeground, bool bBackground );
@@ -161,8 +161,8 @@ public:
const OString& GetHelpId() const
{ return Control::GetHelpId(); }
- void SetActivatePageHdl( const Link<>& rLink ) { maActivateHdl = rLink; }
- void SetDeactivatePageHdl( const Link<TabControl *, bool>& rLink ) { maDeactivateHdl = rLink; }
+ void SetActivatePageHdl( const Link<TabControl*,void>& rLink ) { maActivateHdl = rLink; }
+ void SetDeactivatePageHdl( const Link<TabControl*, bool>& rLink ) { maDeactivateHdl = rLink; }
// returns (control relative) bounding rectangle for the
// character at index nIndex relative to the text of page nPageId