diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-14 11:28:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-15 09:37:31 +0200 |
commit | e0714ae393661da231466ee679d1a6f5cd49fe35 (patch) | |
tree | 910be73c75f74d4c62dc881361b1a5a211a34c61 /extensions | |
parent | 30350f72d8ce9d60ae6c47d602eff90f34bf71a9 (diff) |
convert Link<> to typed
Change-Id: I8f3e401afa27778678788b4ac90ea927a2fed1d7
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/bibliography/toolbar.cxx | 4 | ||||
-rw-r--r-- | extensions/source/bibliography/toolbar.hxx | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/extensions/source/bibliography/toolbar.cxx b/extensions/source/bibliography/toolbar.cxx index f634b49271f7..e60e3f7f2a33 100644 --- a/extensions/source/bibliography/toolbar.cxx +++ b/extensions/source/bibliography/toolbar.cxx @@ -533,7 +533,7 @@ void BibToolBar::DataChanged( const DataChangedEvent& rDCEvt ) ToolBox::DataChanged( rDCEvt ); } -IMPL_LINK_NOARG( BibToolBar, OptionsChanged_Impl ) +IMPL_LINK_NOARG_TYPED( BibToolBar, OptionsChanged_Impl, LinkParamNone*, void ) { bool bRebuildToolBar = false; sal_Int16 eSymbolsSize = SvtMiscOptions().GetCurrentSymbolsSize(); @@ -551,8 +551,6 @@ IMPL_LINK_NOARG( BibToolBar, OptionsChanged_Impl ) if ( bRebuildToolBar ) RebuildToolbar(); - - return 0L; } diff --git a/extensions/source/bibliography/toolbar.hxx b/extensions/source/bibliography/toolbar.hxx index 271e54dab088..341344e5e4c5 100644 --- a/extensions/source/bibliography/toolbar.hxx +++ b/extensions/source/bibliography/toolbar.hxx @@ -131,7 +131,7 @@ class BibToolBar: public ToolBox DECL_LINK( SelHdl, ListBox* ); DECL_LINK_TYPED( SendSelHdl, Idle*, void ); DECL_LINK_TYPED( MenuHdl, ToolBox*, void ); - DECL_LINK( OptionsChanged_Impl, void* ); + DECL_LINK_TYPED( OptionsChanged_Impl, LinkParamNone*, void ); DECL_LINK( SettingsChanged_Impl, void* ); void ApplyImageList(); |