diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2024-07-03 08:58:12 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2024-07-04 06:31:18 +0200 |
commit | 1bffb064a0fbffebd2e33e3b6fdfdbc17b310489 (patch) | |
tree | df165851565089da0bc6ac85abc9f8b7a1c6efb4 /include/vcl/toolkit | |
parent | d4d81421918209456c4669ef48c3f4f2afd8d97f (diff) |
tdf#161853 Drop SvxIconChoiceCtrl_Impl::MouseButtonUp
Since
commit af9413cb4ad49c0b4854c08cc2804644220755ae
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 `IconChoiceFlags::DownDeselect` and `IconChoiceFlags::DownCtrl`
flags are never set, so `SvxIconChoiceCtrl_Impl::MouseButtonUp`
wouldn't effectively do anything.
Drop it and the now unused flags.
Also drop the `SvtIconChoiceCtrl` override for
`Control::MouseButtonUp`.
Change-Id: I06808726389f31a426cba36e627b4305fb362bee
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169903
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'include/vcl/toolkit')
-rw-r--r-- | include/vcl/toolkit/ivctrl.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/vcl/toolkit/ivctrl.hxx b/include/vcl/toolkit/ivctrl.hxx index 308e20c444c1..3f6d9a39f769 100644 --- a/include/vcl/toolkit/ivctrl.hxx +++ b/include/vcl/toolkit/ivctrl.hxx @@ -170,7 +170,6 @@ class UNLESS_MERGELIBS_MORE(VCL_DLLPUBLIC) SvtIconChoiceCtrl final : public Cont virtual void Command( const CommandEvent& rCEvt ) override; virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) override; virtual void MouseButtonDown( const MouseEvent& rMEvt ) override; - virtual void MouseButtonUp( const MouseEvent& rMEvt ) override; virtual void MouseMove( const MouseEvent& rMEvt ) override; virtual void Resize() override; virtual void GetFocus() override; |