From e757c471139094525bd0a967e1b72747f35f99bf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 25 Sep 2015 14:38:44 +0200 Subject: convert Link<> to typed Change-Id: Ib9a493af0f64c5f3eb50f392805c3278ed2164a0 Reviewed-on: https://gerrit.libreoffice.org/19304 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/doc/new.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx index 93121aa58884..c15911e76891 100644 --- a/sfx2/source/doc/new.cxx +++ b/sfx2/source/doc/new.cxx @@ -150,7 +150,7 @@ class SfxNewFileDialog_Impl DECL_LINK(RegionSelect, ListBox*); DECL_LINK(TemplateSelect, void*); DECL_LINK_TYPED(DoubleClick, ListBox&, void); - DECL_LINK(Expand, void*); + DECL_LINK_TYPED(Expand, VclExpander&, void); DECL_LINK_TYPED(LoadFile, Button*, void); sal_uInt16 GetSelectedTemplatePos() const; @@ -263,10 +263,9 @@ IMPL_LINK( SfxNewFileDialog_Impl, RegionSelect, ListBox*, pBox ) return 0; } -IMPL_LINK_NOARG(SfxNewFileDialog_Impl, Expand) +IMPL_LINK_NOARG_TYPED(SfxNewFileDialog_Impl, Expand, VclExpander&, void) { TemplateSelect(m_pTemplateLb); - return 0; } IMPL_LINK_NOARG(SfxNewFileDialog_Impl, TemplateSelect) -- cgit