From 61623d5b90510ae6c791a41031d586a9316e74c4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 7 Sep 2015 09:35:04 +0200 Subject: convert Link<> to typed Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f --- formula/source/ui/dlg/structpg.cxx | 3 +-- formula/source/ui/dlg/structpg.hxx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'formula') diff --git a/formula/source/ui/dlg/structpg.cxx b/formula/source/ui/dlg/structpg.cxx index ba573ca3d8e2..a1900081a8b9 100644 --- a/formula/source/ui/dlg/structpg.cxx +++ b/formula/source/ui/dlg/structpg.cxx @@ -170,7 +170,7 @@ IFormulaToken* StructPage::GetFunctionEntry(SvTreeListEntry* pEntry) return NULL; } -IMPL_LINK( StructPage, SelectHdl, SvTreeListBox*, pTlb ) +IMPL_LINK_TYPED( StructPage, SelectHdl, SvTreeListBox*, pTlb, void ) { if(m_pTlbStruct->GetActiveFlag()) { @@ -192,7 +192,6 @@ IMPL_LINK( StructPage, SelectHdl, SvTreeListBox*, pTlb ) aSelLink.Call(this); } - return 0; } } // formula diff --git a/formula/source/ui/dlg/structpg.hxx b/formula/source/ui/dlg/structpg.hxx index 43053656d7db..ae8fac934302 100644 --- a/formula/source/ui/dlg/structpg.hxx +++ b/formula/source/ui/dlg/structpg.hxx @@ -79,7 +79,7 @@ private: IFormulaToken* pSelectedToken; - DECL_LINK( SelectHdl, SvTreeListBox* ); + DECL_LINK_TYPED( SelectHdl, SvTreeListBox*, void ); using Window::GetParent; -- cgit