summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-15 13:18:30 +0200
committerNoel Grandin <noel@peralex.com>2015-09-16 08:38:54 +0200
commit87004ba29ac513d92da1608679cb065404f51215 (patch)
treef6014878487c79e58d16ead26c69f8ddbad08a28 /sfx2
parent1323f9ff9b2bbe07ce107e0c7c2559274d56e020 (diff)
convert Link<> to typed
Change-Id: Ie9b937c100b44dd914b55d75530e6b6a5fbe2969
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/inc/srchdlg.hxx4
-rw-r--r--sfx2/source/appl/newhelp.cxx3
-rw-r--r--sfx2/source/appl/newhelp.hxx2
3 files changed, 4 insertions, 5 deletions
diff --git a/sfx2/inc/srchdlg.hxx b/sfx2/inc/srchdlg.hxx
index 444a8b7473d1..34ac2ab61679 100644
--- a/sfx2/inc/srchdlg.hxx
+++ b/sfx2/inc/srchdlg.hxx
@@ -44,7 +44,7 @@ private:
VclPtr<PushButton> m_pFindBtn;
Link<SearchDialog&,void> m_aFindHdl;
- Link<> m_aCloseHdl;
+ Link<SearchDialog*,void> m_aCloseHdl;
OUString m_sConfigName;
OString m_sWinState;
@@ -62,7 +62,7 @@ public:
virtual void dispose() SAL_OVERRIDE;
void SetFindHdl( const Link<SearchDialog&,void>& rLink ) { m_aFindHdl = rLink; }
- void SetCloseHdl( const Link<>& rLink ) { m_aCloseHdl = rLink; }
+ void SetCloseHdl( const Link<SearchDialog*,void>& rLink ) { m_aCloseHdl = rLink; }
OUString GetSearchText() const { return m_pSearchEdit->GetText(); }
void SetSearchText( const OUString& _rText ) { m_pSearchEdit->SetText( _rText ); }
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index 8ef07fa1de79..35a081bf921a 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -2342,10 +2342,9 @@ void SfxHelpTextWindow_Impl::FindHdl(sfx2::SearchDialog* pDlg)
-IMPL_LINK( SfxHelpTextWindow_Impl, CloseHdl, sfx2::SearchDialog*, /*pDlg*/ )
+IMPL_LINK_NOARG_TYPED( SfxHelpTextWindow_Impl, CloseHdl, sfx2::SearchDialog*, void )
{
pSrchDlg.clear();
- return 0;
}
diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx
index 2738a915c968..33fec1f886f6 100644
--- a/sfx2/source/appl/newhelp.hxx
+++ b/sfx2/source/appl/newhelp.hxx
@@ -454,7 +454,7 @@ private:
DECL_LINK_TYPED( SelectHdl, Idle *, void);
DECL_LINK_TYPED( NotifyHdl, LinkParamNone*, void );
DECL_LINK_TYPED( FindHdl, sfx2::SearchDialog&, void );
- DECL_LINK( CloseHdl, sfx2::SearchDialog* );
+ DECL_LINK_TYPED( CloseHdl, sfx2::SearchDialog*, void );
DECL_LINK_TYPED( CheckHdl, Button*, void );
void FindHdl(sfx2::SearchDialog*);