diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-11-01 20:37:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-11-02 14:54:34 +0100 |
commit | 5fbc81640770dfe11907b2f92f3ae455e582a302 (patch) | |
tree | b39283300790f8bdcdd06c37300008b2650cb204 /include/svtools | |
parent | 6896eb8dc44069808f5fef452c9802eaf0c51501 (diff) |
mbDrawSelection is always true when evaluated
Change-Id: I043e68d5a5a6af8814f1db0f61f1cd95078ad11c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124570
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/valueset.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx index ada2641c2eb4..baee0108af9e 100644 --- a/include/svtools/valueset.hxx +++ b/include/svtools/valueset.hxx @@ -217,7 +217,6 @@ private: bool mbFormat : 1; bool mbHighlight : 1; bool mbNoSelection : 1; - bool mbDrawSelection : 1; bool mbDoubleSel : 1; bool mbScroll : 1; bool mbFullMode : 1; @@ -238,7 +237,7 @@ private: const bool bFocus, const bool bDrawSel, const bool bSelected, const bool bHover); SVT_DLLPRIVATE void ImplDrawSelect(vcl::RenderContext& rRenderContext); - SVT_DLLPRIVATE void ImplHighlightItem(sal_uInt16 nItemId, bool bIsSelection = true); + SVT_DLLPRIVATE void ImplHighlightItem(sal_uInt16 nItemId); SVT_DLLPRIVATE void ImplDraw(vcl::RenderContext& rRenderContext); SVT_DLLPRIVATE size_t ImplGetItem( const Point& rPoint ) const; SVT_DLLPRIVATE ValueSetItem* ImplGetItem( size_t nPos ); |