diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-16 14:12:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-16 14:12:52 +0200 |
commit | a8248293c301e6804dfbe195c9a9be39e4328480 (patch) | |
tree | f5e0b77d97464e7d5db0ade0328ac5f792f013df /sw/source/uibase/inc | |
parent | 5ba32287aebc1e4d3a1e114699cb1b479d3f13f7 (diff) |
convert Link<> to typed
Change-Id: I9ce3a85eb5eba35691c376d19436c624df68be33
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r-- | sw/source/uibase/inc/swuicnttab.hxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/uibase/inc/swuicnttab.hxx b/sw/source/uibase/inc/swuicnttab.hxx index 4d51f43b4f79..0a81436deeef 100644 --- a/sw/source/uibase/inc/swuicnttab.hxx +++ b/sw/source/uibase/inc/swuicnttab.hxx @@ -258,9 +258,9 @@ class SwTokenWindow : public VclHBox, public VclBuilderContainer OUString aButtonTexts[TOKEN_END]; // Text of the buttons OUString aButtonHelpTexts[TOKEN_END]; // QuickHelpText of the buttons OUString sCharStyle; - Link<SwFormToken&,void> aButtonSelectedHdl; - VclPtr<Control> pActiveCtrl; - Link<> aModifyHdl; + Link<SwFormToken&,void> aButtonSelectedHdl; + VclPtr<Control> pActiveCtrl; + Link<LinkParamNone*,void> aModifyHdl; OUString accessibleName; OUString sAdditionalAccnameString1; OUString sAdditionalAccnameString2; @@ -301,10 +301,9 @@ public: void SetButtonSelectedHdl(const Link<SwFormToken&,void>& rLink) { aButtonSelectedHdl = rLink;} - void SetModifyHdl(const Link<>& rLink){aModifyHdl = rLink;} + void SetModifyHdl(const Link<LinkParamNone*,void>& rLink){aModifyHdl = rLink;} - Control* GetActiveControl() - { return pActiveCtrl;} + Control* GetActiveControl() { return pActiveCtrl; } void InsertAtSelection(const OUString& rText, const SwFormToken& aToken); void RemoveControl(SwTOXButton* pDel, bool bInternalCall = false); @@ -429,7 +428,8 @@ class SwTOXEntryTabPage : public SfxTabPage void WriteBackLevel(); void UpdateDescriptor(); - DECL_LINK(ModifyHdl, void*); + DECL_LINK_TYPED(ModifyHdl, LinkParamNone*, void); + void OnModify(void*); DECL_LINK_TYPED(ModifyClickHdl, Button*, void); using SfxTabPage::ActivatePage; |