summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-09 07:44:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-13 12:27:08 +0100
commite3290499009492e39e5ddd870d314bb5df494199 (patch)
tree6ffaa7c199e74791ed1a2aa8a74a0a528509a02f /canvas
parent8709c643136eed67bc8f04ab9465b4a76085747c (diff)
loplugin singlevalfields improvement
checking for casting to void* turns out to mask useful stuff, so remove that and just deal with a few extra false+ Change-Id: Id9700d7ceda90ba8fdb38aa870f13a7ca3acb668 Reviewed-on: https://gerrit.libreoffice.org/63145 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/tools/canvascustomspritehelper.cxx18
1 files changed, 1 insertions, 17 deletions
diff --git a/canvas/source/tools/canvascustomspritehelper.cxx b/canvas/source/tools/canvascustomspritehelper.cxx
index 1d39107c9d00..90a9506d0b84 100644
--- a/canvas/source/tools/canvascustomspritehelper.cxx
+++ b/canvas/source/tools/canvascustomspritehelper.cxx
@@ -154,12 +154,7 @@ namespace canvas
mbActive(false),
mbIsCurrClipRectangle(true),
mbIsContentFullyOpaque( false ),
- mbAlphaDirty( true ),
- mbPositionDirty( true ),
- mbTransformDirty( true ),
- mbClipDirty( true ),
- mbPrioDirty( true ),
- mbVisibilityDirty( true )
+ mbTransformDirty( true )
{
}
@@ -238,8 +233,6 @@ namespace canvas
maPosition,
getUpdateArea() );
}
-
- mbAlphaDirty = true;
}
}
@@ -277,7 +270,6 @@ namespace canvas
}
maPosition = aPoint;
- mbPositionDirty = true;
}
}
@@ -330,8 +322,6 @@ namespace canvas
maPosition,
getUpdateArea() );
}
-
- mbClipDirty = true;
}
void CanvasCustomSpriteHelper::setPriority( const Sprite::Reference& rSprite,
@@ -350,8 +340,6 @@ namespace canvas
maPosition,
getUpdateArea() );
}
-
- mbPrioDirty = true;
}
}
@@ -374,8 +362,6 @@ namespace canvas
maPosition,
getUpdateArea() );
}
-
- mbVisibilityDirty = true;
}
}
@@ -398,8 +384,6 @@ namespace canvas
maPosition,
getUpdateArea() );
}
-
- mbVisibilityDirty = true;
}
}