From 62d9d507fc8739722df2e45483b29910f2743699 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 29 Jun 2023 12:32:13 +0200 Subject: loplugin:unusedfields make it a little smarter around dealing with operator[] on map data-types Change-Id: Idd6654948ae2d03d634fcf30a8d98530a78ab4ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153740 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/uibase/inc/shdwcrsr.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sw/source/uibase/inc') diff --git a/sw/source/uibase/inc/shdwcrsr.hxx b/sw/source/uibase/inc/shdwcrsr.hxx index ec8a5f55f89b..4118b3965a99 100644 --- a/sw/source/uibase/inc/shdwcrsr.hxx +++ b/sw/source/uibase/inc/shdwcrsr.hxx @@ -28,7 +28,6 @@ class SwShadowCursor { VclPtr m_pWin; - Color m_aCol; Point m_aOldPt; tools::Long m_nOldHeight; sal_uInt16 m_nOldMode; @@ -36,8 +35,8 @@ class SwShadowCursor void DrawCursor( sal_uInt16 nMode ); public: - SwShadowCursor( vcl::Window& rWin, const Color& rCol ) - : m_pWin( &rWin ), m_aCol( rCol ), m_nOldHeight(0), m_nOldMode( USHRT_MAX ) {} + SwShadowCursor( vcl::Window& rWin ) + : m_pWin( &rWin ), m_nOldHeight(0), m_nOldMode( USHRT_MAX ) {} ~SwShadowCursor(); void SetPos( const Point& rPt, tools::Long nHeight, sal_uInt16 nMode ); -- cgit