diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-09-25 14:38:44 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-12 06:54:02 +0000 |
commit | e757c471139094525bd0a967e1b72747f35f99bf (patch) | |
tree | ab2072514e2e3d0447bb05113d254dc6167a53d0 /sfx2 | |
parent | ccc5ea08d64c38a9ce925d448c3010aca19ed35c (diff) |
convert Link<> to typed
Change-Id: Ib9a493af0f64c5f3eb50f392805c3278ed2164a0
Reviewed-on: https://gerrit.libreoffice.org/19304
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/new.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
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) |