summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-09-03 16:59:55 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-04 06:32:36 +0000
commit6741a0f25a0193941135636833e1068ee12fc77f (patch)
tree9d75041275c3f276eeb37ebcdff4c84eae1afa95 /cui
parent5702e894b89505e3e3ebd76826c477a7d6efecb5 (diff)
convert Link<> to typed
Change-Id: I5469c9983ef94b418b729af841f8db10b9116667 Reviewed-on: https://gerrit.libreoffice.org/18316 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/inc/cuitabline.hxx2
-rw-r--r--cui/source/tabpages/tpline.cxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/inc/cuitabline.hxx b/cui/source/inc/cuitabline.hxx
index c5204b9aa682..e9ff28bbce0e 100644
--- a/cui/source/inc/cuitabline.hxx
+++ b/cui/source/inc/cuitabline.hxx
@@ -174,7 +174,7 @@ private:
// handler for gallery popup menu button + size
DECL_LINK_TYPED( GraphicHdl_Impl, MenuButton *, void );
- DECL_LINK( MenuCreateHdl_Impl, MenuButton * );
+ DECL_LINK_TYPED( MenuCreateHdl_Impl, MenuButton *, void );
DECL_LINK( SizeHdl_Impl, MetricField * );
DECL_LINK_TYPED( RatioHdl_Impl, Button*, void );
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx
index 1dc40a9d7f95..e270329e1f37 100644
--- a/cui/source/tabpages/tpline.cxx
+++ b/cui/source/tabpages/tpline.cxx
@@ -1735,10 +1735,9 @@ void SvxLineTabPage::FillUserData()
// #58425# Symbols on a list (e.g. StarChart)
// Handler for the symbol selection's popup menu (NumMenueButton)
// The following link originates from SvxNumOptionsTabPage
-IMPL_LINK( SvxLineTabPage, MenuCreateHdl_Impl, MenuButton *, pButton )
+IMPL_LINK_TYPED( SvxLineTabPage, MenuCreateHdl_Impl, MenuButton *, pButton, void )
{
InitSymbols(pButton);
- return 0;
}
// #58425# Symbols on a list (e.g. StarChart)