summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-20 09:31:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-20 12:40:57 +0200
commitb2423a480785db6f4883d6314690b22b69d55c22 (patch)
tree52f00376acff4db0e2d522d1068d35a227836ad4 /drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx
parent07f9223daae92ac11be2382ecd0095e744f5695f (diff)
loplugin:constvars in drawinglayer..framework
Change-Id: I6e62229fdc38f49f766a306f5264afafe9acefa5 Reviewed-on: https://gerrit.libreoffice.org/77774 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx')
-rw-r--r--drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx b/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx
index f27a8cfe4f62..0289a3788ee1 100644
--- a/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx
+++ b/drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx
@@ -185,7 +185,7 @@ namespace drawinglayer
a2DUnitLine.append(basegfx::B2DPoint(0.0, 0.0));
a2DUnitLine.append(basegfx::B2DPoint(1.0, 0.0));
- for(basegfx::B2DHomMatrix & rMatrix : aMatrices)
+ for(const basegfx::B2DHomMatrix & rMatrix : aMatrices)
{
basegfx::B2DPolygon aNewLine(a2DUnitLine);
aNewLine.transform(rMatrix);