summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-20 12:00:11 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-11-20 13:25:18 +0000
commitce6170dafe0159e2a1d689133c070b25fa39dd12 (patch)
treefb7bb4c8feb073fadd4d144ace8c155ad69c639b /canvas
parent4f69d0810e76f17b2a24f74dc99c4b8a31ac63b7 (diff)
loplugin:unusedfields in canvas
Change-Id: Ic532ebf1f929044d72ee3abca29c8275cbe837ac Reviewed-on: https://gerrit.libreoffice.org/20078 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/tools/surfacerect.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/canvas/source/tools/surfacerect.hxx b/canvas/source/tools/surfacerect.hxx
index b98cd28487f0..3f79f88a9886 100644
--- a/canvas/source/tools/surfacerect.hxx
+++ b/canvas/source/tools/surfacerect.hxx
@@ -30,13 +30,11 @@ namespace canvas
::basegfx::B2IPoint maPos;
::basegfx::B2ISize maSize;
::basegfx::B2IPoint maBackup;
- bool bEnabled;
explicit SurfaceRect( const ::basegfx::B2ISize &rSize ) :
maPos(),
maSize(rSize),
- maBackup(),
- bEnabled(true)
+ maBackup()
{
}