summaryrefslogtreecommitdiff
path: root/vcl/source/control/imivctl.hxx
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-07-02 12:34:57 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2024-07-03 08:19:58 +0200
commit35775e291d6570b29dc0120e4839c720152b5149 (patch)
treec0f7d8d00d2a53dd9940b25c5f2096c7a0478f76 /vcl/source/control/imivctl.hxx
parent150f61fb0056b9f26796e491ffe6e3094b805236 (diff)
tdf#161853 Drop now unused SvxIconChoiceCtrl_Impl::SelectRect etc.
`SvxIconChoiceCtrl_Impl::SelectRect` is unused since: Change-Id: Ifd60c030b91636acc58298f0e7b97b69c1312be1 Author: Michael Weghorn <m.weghorn@posteo.de> Date: Tue Jul 2 12:02:05 2024 +0200 tdf#161853 Simplify SvxIconChoiceCtrl_Impl::SetCursor_Impl Drop it, and drop the `GetHotSpot` helper that was only used by it. Also drop `SvxIconChoiceCtrl_Impl::aCurSelectionRect` that is by now only written to, but never read. Change-Id: I1fb833acce1d4a0d96c45bca2eda2d5969baff77 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169877 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.hxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/vcl/source/control/imivctl.hxx b/vcl/source/control/imivctl.hxx
index 9ebbf3cb2a71..ecbb3020dd56 100644
--- a/vcl/source/control/imivctl.hxx
+++ b/vcl/source/control/imivctl.hxx
@@ -116,7 +116,6 @@ class SvxIconChoiceCtrl_Impl
VclPtr<ScrollBar> aVerSBar;
VclPtr<ScrollBar> aHorSBar;
VclPtr<ScrollBarBox> aScrBarBox;
- tools::Rectangle aCurSelectionRect;
Idle aAutoArrangeIdle;
Idle aDocRectChangedIdle;
Idle aVisRectChangedIdle;
@@ -184,12 +183,6 @@ class SvxIconChoiceCtrl_Impl
void DeselectAllBut( SvxIconChoiceCtrlEntry const * );
void Center( SvxIconChoiceCtrlEntry* pEntry ) const;
void CallSelectHandler();
- void SelectRect(
- SvxIconChoiceCtrlEntry* pEntry1,
- SvxIconChoiceCtrlEntry* pEntry2,
- bool bAdd,
- const std::vector<tools::Rectangle>& rOtherRects
- );
tools::Rectangle CalcMaxTextRect( const SvxIconChoiceCtrlEntry* pEntry ) const;
@@ -331,12 +324,6 @@ public:
const tools::Rectangle& rEntryBoundRect
);
- void SelectRect(
- const tools::Rectangle&,
- bool bAdd,
- const std::vector<tools::Rectangle>& rOtherRects
- );
-
void MakeVisible(
const tools::Rectangle& rDocPos,
bool bInScrollBarEvent=false