From a86bc66f26cb85e132492d3e826ff396627769cc Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 17 Sep 2015 12:39:30 +0200 Subject: convert Link<> to typed Change-Id: I3512f54657eb055fa306739d27d18012b46134ac --- cui/source/inc/autocdlg.hxx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'cui/source/inc') diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx index 3c034fee1c04..eab62485f02a 100644 --- a/cui/source/inc/autocdlg.hxx +++ b/cui/source/inc/autocdlg.hxx @@ -183,7 +183,7 @@ public: class AutoCorrEdit : public Edit { - Link<> aActionLink; + Link aActionLink; bool bSpaces; public: @@ -192,7 +192,7 @@ class AutoCorrEdit : public Edit AutoCorrEdit(vcl::Window* pParent) : Edit(pParent), bSpaces(false){} - void SetActionHdl( const Link<>& rLink ) + void SetActionHdl( const Link& rLink ) { aActionLink = rLink;} void SetSpaces(bool bSet) @@ -253,9 +253,10 @@ private: bool bSWriter:1; DECL_LINK_TYPED(SelectHdl, SvTreeListBox*, void); - DECL_LINK_TYPED(NewDelHdl, Button*, void); - DECL_LINK(NewDelActionHdl, PushButton*); + DECL_LINK_TYPED(NewDelButtonHdl, Button*, void); + DECL_LINK_TYPED(NewDelActionHdl, AutoCorrEdit&, bool); DECL_LINK(ModifyHdl, Edit*); + bool NewDelHdl(void*); void RefillReplaceBox( bool bFromReset, LanguageType eOldLanguage, @@ -314,10 +315,11 @@ private: CollatorWrapper* pCompareClass; LanguageType eLang; - DECL_LINK_TYPED(NewDelHdl, Button*, void); - DECL_LINK(NewDelActionHdl, void*); + DECL_LINK_TYPED(NewDelButtonHdl, Button*, void); + DECL_LINK_TYPED(NewDelActionHdl, AutoCorrEdit&, bool); DECL_LINK(SelectHdl, ListBox*); DECL_LINK(ModifyHdl, Edit*); + bool NewDelHdl(void*); /// Box filled with new language void RefillReplaceBoxes(bool bFromReset, LanguageType eOldLanguage, -- cgit