diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-07-02 12:02:05 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-07-03 08:19:26 +0200 |
commit | 21661ce368a3458a51fc6fccab8defebb9b9e59c (patch) | |
tree | b479e62df720f5c0500eaae595315deeca293c91 /vcl/source/control/imivctl.hxx | |
parent | af9413cb4ad49c0b4854c08cc2804644220755ae (diff) |
tdf#161853 Simplify SvxIconChoiceCtrl_Impl::SetCursor_Impl
Since
Change-Id: I0acde664d695571e9058b9829ad02745a4abaad2
Author: Michael Weghorn <m.weghorn@posteo.de>
Date: Tue Jul 2 11:53:27 2024 +0200
tdf#161853 icon choice ctrl: Drop support for non-single selection modes
, the `bShift` and `bMod1` params passed to
`SvxIconChoiceCtrl_Impl::SetCursor_Impl` are always false,
so drop them and their handling.
With that dropped, the `pOldCursor` param also becomes
unused, so drop that as well.
Change-Id: Ifd60c030b91636acc58298f0e7b97b69c1312be1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169873
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
Diffstat (limited to 'vcl/source/control/imivctl.hxx')
-rw-r--r-- | vcl/source/control/imivctl.hxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/vcl/source/control/imivctl.hxx b/vcl/source/control/imivctl.hxx index 4c6729a7a19d..03655f1599cd 100644 --- a/vcl/source/control/imivctl.hxx +++ b/vcl/source/control/imivctl.hxx @@ -268,12 +268,7 @@ public: bool MouseButtonUp( const MouseEvent& ); bool MouseMove( const MouseEvent&); bool RequestHelp( const HelpEvent& rHEvt ); - void SetCursor_Impl( - SvxIconChoiceCtrlEntry* pOldCursor, - SvxIconChoiceCtrlEntry* pNewCursor, - bool bMod1, - bool bShift - ); + void SetCursor_Impl(SvxIconChoiceCtrlEntry* pNewCursor); bool KeyInput( const KeyEvent& ); void Resize(); void GetFocus(); |