summaryrefslogtreecommitdiff
path: root/vcl/backendtest
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-11-02 14:32:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-03 07:54:12 +0100
commit6299c8cae923198c55d47320fa8a89bbcd5b0f2b (patch)
tree019ed8f1d754f92fb72c9ae4639ab671bae97018 /vcl/backendtest
parentde39e35b21134e9a0f946aabe4859b16a62b248d (diff)
loplugin:constparams
Change-Id: Iebeb531fad5cc819b536788925cf8508737198b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124599 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/backendtest')
-rw-r--r--vcl/backendtest/outputdevice/common.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/backendtest/outputdevice/common.cxx b/vcl/backendtest/outputdevice/common.cxx
index 8a5b80cb8dec..c8e291f787ec 100644
--- a/vcl/backendtest/outputdevice/common.cxx
+++ b/vcl/backendtest/outputdevice/common.cxx
@@ -720,7 +720,7 @@ tools::Polygon OutputDeviceTestCommon::createClosedBezierLoop(const tools::Recta
return aPolygon;
}
-basegfx::B2DPolygon OutputDeviceTestCommon::createOpenPolygon(tools::Rectangle& rRect, int nOffset)
+basegfx::B2DPolygon OutputDeviceTestCommon::createOpenPolygon(const tools::Rectangle& rRect, int nOffset)
{
int nMidOffset = rRect.GetWidth() / 2;
basegfx::B2DPolygon aPolygon{