diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-06-17 19:40:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-06-18 20:37:12 +0200 |
commit | 35245a605f3889fb3edbdab6fbe9f9233912fc59 (patch) | |
tree | b2ae3247789051ce4b7692dcaaef864969229ca6 /vcl/inc/listbox.hxx | |
parent | e5ef9a396b5808fc561e92216071e18815344dd9 (diff) |
mbStackMode is always false now
Change-Id: I3d6c9b0cc07b3750a3f24b4cfc5138b49e62d06d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96600
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/inc/listbox.hxx')
-rw-r--r-- | vcl/inc/listbox.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/vcl/inc/listbox.hxx b/vcl/inc/listbox.hxx index 65cd4d2089a5..0485001216b0 100644 --- a/vcl/inc/listbox.hxx +++ b/vcl/inc/listbox.hxx @@ -206,7 +206,6 @@ private: bool mbSort : 1; ///< ListBox sorted bool mbTrack : 1; ///< Tracking bool mbMulti : 1; ///< MultiListBox - bool mbStackMode : 1; ///< StackSelection bool mbSimpleMode : 1; ///< SimpleMode for MultiListBox bool mbTravelSelect : 1; ///< TravelSelect bool mbTrackingSelect : 1; ///< Selected at a MouseMove @@ -327,13 +326,13 @@ public: void EnableUserDraw( bool bUserDraw ) { mbUserDrawEnabled = bUserDraw; } bool IsUserDrawEnabled() const { return mbUserDrawEnabled; } - void EnableMultiSelection( bool bMulti, bool bStackMode ) { mbMulti = bMulti; mbStackMode = bStackMode; } + void EnableMultiSelection( bool bMulti ) { mbMulti = bMulti; } bool IsMultiSelectionEnabled() const { return mbMulti; } void SetMultiSelectionSimpleMode( bool bSimple ) { mbSimpleMode = bSimple; } void EnableMouseMoveSelect( bool bMouseMoveSelect ) { mbMouseMoveSelect = bMouseMoveSelect; } - bool IsMouseMoveSelect() const { return mbMouseMoveSelect||mbStackMode; } + bool IsMouseMoveSelect() const { return mbMouseMoveSelect; } Size CalcSize(sal_Int32 nMaxLines) const; tools::Rectangle GetBoundingRectangle( sal_Int32 nItem ) const; @@ -459,7 +458,7 @@ public: bool IsTravelSelect() const { return maLBWindow->IsTravelSelect(); } bool IsTrackingSelect() const { return maLBWindow->IsTrackingSelect(); } - void EnableMultiSelection( bool bMulti, bool bStackMode ) { maLBWindow->EnableMultiSelection( bMulti, bStackMode ); } + void EnableMultiSelection( bool bMulti ) { maLBWindow->EnableMultiSelection( bMulti ); } bool IsMultiSelectionEnabled() const { return maLBWindow->IsMultiSelectionEnabled(); } void SetMultiSelectionSimpleMode( bool bSimple ) { maLBWindow->SetMultiSelectionSimpleMode( bSimple ); } |