diff options
Diffstat (limited to 'sc/source/ui/cctrl/checklistmenu.cxx')
-rw-r--r-- | sc/source/ui/cctrl/checklistmenu.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index a9fa128d92e5..ba1a7ad6c6a2 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -1177,7 +1177,7 @@ void ScCheckListMenuWindow::cycleFocus(bool bReverse) maTabStopCtrls[mnCurTabStop]->GrabFocus(); } -IMPL_LINK( ScCheckListMenuWindow, ButtonHdl, Button*, pBtn ) +IMPL_LINK_TYPED( ScCheckListMenuWindow, ButtonHdl, Button*, pBtn, void ) { if (pBtn == maBtnOk.get()) close(true); @@ -1191,10 +1191,9 @@ IMPL_LINK( ScCheckListMenuWindow, ButtonHdl, Button*, pBtn ) selectCurrentMemberOnly(false); CheckHdl(maChecks.get()); } - return 0; } -IMPL_LINK_NOARG(ScCheckListMenuWindow, TriStateHdl) +IMPL_LINK_NOARG_TYPED(ScCheckListMenuWindow, TriStateHdl, Button*, void) { switch (mePrevToggleAllState) { @@ -1214,7 +1213,6 @@ IMPL_LINK_NOARG(ScCheckListMenuWindow, TriStateHdl) } mePrevToggleAllState = maChkToggleAll->GetState(); - return 0; } IMPL_LINK_NOARG(ScCheckListMenuWindow, EdModifyHdl) |