summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-04-11 14:37:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-04-12 13:06:26 +0200
commitd028c1be17c484fef8617490b46c66100b0e25bc (patch)
tree672ecc470737039f36558166112e3287a08e83bd /canvas
parent11e381c527ebd440e4d64d19a5bc27bdc9ea70fc (diff)
loplugin:sequentialassign in accessiblity..canvas
Change-Id: I984717138ac85c1af5fc363fda06f5c2b5497965 Reviewed-on: https://gerrit.libreoffice.org/70641 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/tools/surface.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/canvas/source/tools/surface.cxx b/canvas/source/tools/surface.cxx
index 80c300a22751..10c2d4655343 100644
--- a/canvas/source/tools/surface.cxx
+++ b/canvas/source/tools/surface.cxx
@@ -332,8 +332,7 @@ namespace canvas
// be transformed by the overall transform and uv coordinates will
// be calculated from the result, and this is why we need to use
// integer coordinates here...
- basegfx::B2DHomMatrix aTransform;
- aTransform = aTransform * rTransform;
+ basegfx::B2DHomMatrix aTransform = rTransform;
aTransform.translate(::basegfx::fround(rPos.getX()),
::basegfx::fround(rPos.getY()));