diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-18 18:31:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-08-18 21:18:29 +0200 |
commit | 18f202011661397d10ca4c2fa28fcf57b62221b0 (patch) | |
tree | 5a867f5bee6205e13172bb5c61315552d5dc9870 /vcl/backendtest | |
parent | 2e74c1107bc8422ee7a819722f3f0a366127330f (diff) |
loplugin:constparams
Change-Id: Ic7410f836e584df45101e78e345c8b3c8d355e09
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120680
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/backendtest')
-rw-r--r-- | vcl/backendtest/GraphicsRenderTests.cxx | 2 | ||||
-rw-r--r-- | vcl/backendtest/outputdevice/common.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/backendtest/GraphicsRenderTests.cxx b/vcl/backendtest/GraphicsRenderTests.cxx index ad690720bb7a..1ffc8d835cd6 100644 --- a/vcl/backendtest/GraphicsRenderTests.cxx +++ b/vcl/backendtest/GraphicsRenderTests.cxx @@ -25,7 +25,7 @@ namespace { -void exportBitmapExToImage(OUString const& rImageName, BitmapEx& rBitmapEx) +void exportBitmapExToImage(OUString const& rImageName, const BitmapEx& rBitmapEx) { BitmapEx aBitmapEx(rBitmapEx); aBitmapEx.Scale(Size(500, 500), BmpScaleFlag::Fast); diff --git a/vcl/backendtest/outputdevice/common.cxx b/vcl/backendtest/outputdevice/common.cxx index 065919f5b1c5..ccf78b1c2df2 100644 --- a/vcl/backendtest/outputdevice/common.cxx +++ b/vcl/backendtest/outputdevice/common.cxx @@ -617,7 +617,7 @@ basegfx::B2DPolygon OutputDeviceTestCommon::createHalfEllipsePolygon() return aPolygon; } -tools::Polygon OutputDeviceTestCommon::createClosedBezierLoop(tools::Rectangle& rRect) +tools::Polygon OutputDeviceTestCommon::createClosedBezierLoop(const tools::Rectangle& rRect) { tools::Long minX = rRect.Left(); tools::Long maxX = rRect.Right() - 2; |