summaryrefslogtreecommitdiff
path: root/formula
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-07 09:35:04 +0200
committerNoel Grandin <noel@peralex.com>2015-09-08 08:16:46 +0200
commit61623d5b90510ae6c791a41031d586a9316e74c4 (patch)
tree0b5a8115ae6d603cbe6208b958d8b440ea8fd06f /formula
parentd7efea29cdc2faa57d172d7e4d8def18fd49536c (diff)
convert Link<> to typed
Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f
Diffstat (limited to 'formula')
-rw-r--r--formula/source/ui/dlg/structpg.cxx3
-rw-r--r--formula/source/ui/dlg/structpg.hxx2
2 files changed, 2 insertions, 3 deletions
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;