From 5fbc81640770dfe11907b2f92f3ae455e582a302 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 1 Nov 2021 20:37:06 +0000 Subject: mbDrawSelection is always true when evaluated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I043e68d5a5a6af8814f1db0f61f1cd95078ad11c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124570 Tested-by: Caolán McNamara Reviewed-by: Caolán McNamara --- include/svtools/valueset.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/svtools') 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 ); -- cgit