summaryrefslogtreecommitdiff
path: root/drawinglayer
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
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')
-rw-r--r--drawinglayer/source/primitive3d/hatchtextureprimitive3d.cxx2
-rw-r--r--drawinglayer/source/primitive3d/sdrdecompositiontools3d.cxx2
2 files changed, 2 insertions, 2 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);
diff --git a/drawinglayer/source/primitive3d/sdrdecompositiontools3d.cxx b/drawinglayer/source/primitive3d/sdrdecompositiontools3d.cxx
index cbcbfda8b649..c54976a998cb 100644
--- a/drawinglayer/source/primitive3d/sdrdecompositiontools3d.cxx
+++ b/drawinglayer/source/primitive3d/sdrdecompositiontools3d.cxx
@@ -49,7 +49,7 @@ namespace drawinglayer
{
basegfx::B3DRange aRetval;
- for(basegfx::B3DPolyPolygon & a : rFill)
+ for(const basegfx::B3DPolyPolygon & a : rFill)
{
aRetval.expand(basegfx::utils::getRange(a));
}