diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-09-09 07:23:12 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-09-09 08:10:11 +0000 |
commit | be73c1602dbe4d0f09d0e9c4853ec89df3eb37ad (patch) | |
tree | 90fea0177273fd5a9499fa66e84f3316de3fe6d7 /svx/source/tbxctrls/lboxctrl.cxx | |
parent | 61afb4bebafe6e615611e74b17ce0fc43648813f (diff) |
convert Link<> to typed
Change-Id: I3127752785b77672d37f99bc9eaa881377dabe7c
Reviewed-on: https://gerrit.libreoffice.org/18431
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/tbxctrls/lboxctrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/lboxctrl.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/tbxctrls/lboxctrl.cxx b/svx/source/tbxctrls/lboxctrl.cxx index 9c275caf9e34..91be05d287f4 100644 --- a/svx/source/tbxctrls/lboxctrl.cxx +++ b/svx/source/tbxctrls/lboxctrl.cxx @@ -162,7 +162,7 @@ void SvxListBoxControl::StateChanged( } -IMPL_LINK_NOARG(SvxListBoxControl, PopupModeEndHdl) +IMPL_LINK_NOARG_TYPED(SvxListBoxControl, PopupModeEndHdl, FloatingWindow*, void) { if( pPopupWin && FloatWinPopupFlags::NONE == pPopupWin->GetPopupModeFlags() && pPopupWin->IsUserSelected() ) @@ -176,7 +176,6 @@ IMPL_LINK_NOARG(SvxListBoxControl, PopupModeEndHdl) aArgs[0].Value = makeAny( sal_Int16( nCount )); SfxToolBoxControl::Dispatch( m_aCommandURL, aArgs ); } - return 0; } @@ -279,8 +278,7 @@ VclPtr<SfxPopupWindow> SvxUndoRedoControl::CreatePopupWindow() ToolBox& rBox = GetToolBox(); pPopupWin = VclPtr<SvxPopupWindowListBox>::Create( GetSlotId(), m_aCommandURL, GetId(), rBox ); - pPopupWin->SetPopupModeEndHdl( LINK( this, SvxUndoRedoControl, - PopupModeEndHdl ) ); + pPopupWin->SetPopupModeEndHdl( LINK( this, SvxUndoRedoControl, PopupModeEndHdl ) ); ListBox &rListBox = pPopupWin->GetListBox(); rListBox.SetSelectHdl( LINK( this, SvxUndoRedoControl, SelectHdl ) ); |