summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-06-29 12:32:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-06-29 17:33:30 +0200
commit62d9d507fc8739722df2e45483b29910f2743699 (patch)
tree4dd3200302816ab7d47459819c075b273b597063 /sw/source/uibase/inc
parentc89b7f4a31298360e14663f3c192e4e832759a1f (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r--sw/source/uibase/inc/shdwcrsr.hxx5
1 files changed, 2 insertions, 3 deletions
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<vcl::Window> 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 );