summaryrefslogtreecommitdiffstats
path: root/svx/source/mnuctrls
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-31 10:36:28 +0200
committerNoel Grandin <noel@peralex.com>2015-09-04 13:08:29 +0200
commit8f0f4faad2db50fdc50d3f66ed5d32c9a0138dad (patch)
tree50d5efbe18af28444e1ac0757924120a4627b4b3 /svx/source/mnuctrls
parentconvert Link<> to typed (diff)
downloadcore-8f0f4faad2db50fdc50d3f66ed5d32c9a0138dad.tar.gz
core-8f0f4faad2db50fdc50d3f66ed5d32c9a0138dad.zip
convert Link<> to typed
Change-Id: Ibf658f42227ee3f4277f0089b6f8a8ac771dab1a
Diffstat (limited to 'svx/source/mnuctrls')
-rw-r--r--svx/source/mnuctrls/fntszctl.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svx/source/mnuctrls/fntszctl.cxx b/svx/source/mnuctrls/fntszctl.cxx
index 7dcb0ef8a7d9..34f9d6fe23ac 100644
--- a/svx/source/mnuctrls/fntszctl.cxx
+++ b/svx/source/mnuctrls/fntszctl.cxx
@@ -48,13 +48,13 @@ SFX_IMPL_MENU_CONTROL(SvxFontSizeMenuControl, SvxFontHeightItem);
wird in einem SvxFontHeightItem verschickt.
*/
-IMPL_LINK( SvxFontSizeMenuControl, MenuSelect, FontSizeMenu*, pMen )
+IMPL_LINK_TYPED( SvxFontSizeMenuControl, MenuSelect, FontSizeMenu*, pMen, void )
{
SfxViewFrame* pFrm = SfxViewFrame::Current();
SfxShell* pSh = pFrm ? pFrm->GetDispatcher()->GetShell( 0 ) : NULL;
if ( !pSh )
- return 0;
+ return;
const SfxItemPool& rPool = pSh->GetPool();
sal_uInt16 nWhich = rPool.GetWhich( SID_ATTR_CHAR_FONTHEIGHT );
@@ -62,7 +62,6 @@ IMPL_LINK( SvxFontSizeMenuControl, MenuSelect, FontSizeMenu*, pMen )
long nH = LOGIC( pMen->GetCurHeight(), MAP_POINT, (MapUnit)eUnit ) / 10;
SvxFontHeightItem aItem( nH, 100, GetId() );
GetBindings().GetDispatcher()->Execute( GetId(), SfxCallMode::RECORD, &aItem, 0L );
- return 1;
}