summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-14 11:04:47 +0200
committerNoel Grandin <noel@peralex.com>2015-09-15 09:37:31 +0200
commit30350f72d8ce9d60ae6c47d602eff90f34bf71a9 (patch)
treece47b62618d93ce59bd527320e6c37a345afd473 /sfx2
parentdccd68adba8affbac7080cfe7ac97451037b79a0 (diff)
convert Link<> to typed
Change-Id: I99ae0ff43a25dbaf8f6f5f03ec0f8751f0893ccb
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/inc/virtmenu.hxx2
-rw-r--r--sfx2/source/menu/virtmenu.cxx4
2 files changed, 2 insertions, 4 deletions
diff --git a/sfx2/source/inc/virtmenu.hxx b/sfx2/source/inc/virtmenu.hxx
index 370e24f1b956..f353169ab0d7 100644
--- a/sfx2/source/inc/virtmenu.hxx
+++ b/sfx2/source/inc/virtmenu.hxx
@@ -72,7 +72,7 @@ protected:
DECL_STATIC_LINK_TYPED( SfxVirtualMenu, Highlight, Menu *, bool );
DECL_LINK_TYPED( Activate, Menu *, bool );
DECL_LINK_TYPED( Deactivate, Menu *, bool );
- DECL_LINK( SettingsChanged, void* );
+ DECL_LINK_TYPED( SettingsChanged, LinkParamNone*, void );
// Used for runtime popup menus
void UpdateImages( Menu* pMenu );
diff --git a/sfx2/source/menu/virtmenu.cxx b/sfx2/source/menu/virtmenu.cxx
index 5bbda1cd4a3e..7f471bfeb7fb 100644
--- a/sfx2/source/menu/virtmenu.cxx
+++ b/sfx2/source/menu/virtmenu.cxx
@@ -490,7 +490,7 @@ IMPL_STATIC_LINK_NOARG_TYPED(
return true;
}
-IMPL_LINK_NOARG(SfxVirtualMenu, SettingsChanged)
+IMPL_LINK_NOARG_TYPED(SfxVirtualMenu, SettingsChanged, LinkParamNone*, void)
{
sal_uInt16 nItemCount = pSVMenu->GetItemCount();
SfxViewFrame *pViewFrame = pBindings->GetDispatcher()->GetFrame();
@@ -552,8 +552,6 @@ IMPL_LINK_NOARG(SfxVirtualMenu, SettingsChanged)
if ( pImageControl )
pImageControl->Update();
-
- return 0;
}