summaryrefslogtreecommitdiff
path: root/vcl/unx/generic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-08-17 20:16:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-08-18 08:54:36 +0200
commitf46740abc225f5b4c7f604bf3ef32c503c7fc858 (patch)
tree59942cedf60d33464df43305b550247d2e000edd /vcl/unx/generic
parentca3557bedef8dd968f6455875f574357801902c7 (diff)
loplugin:sequenceloop also check for B2DPolyPolygon
which has the same problem Change-Id: I98f9924626f26739e91d6a9d21e4276473ea314d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120620 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx/generic')
-rw-r--r--vcl/unx/generic/gdi/salgdi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/gdi/salgdi.cxx b/vcl/unx/generic/gdi/salgdi.cxx
index 544882fe6dc4..e809923fb3bd 100644
--- a/vcl/unx/generic/gdi/salgdi.cxx
+++ b/vcl/unx/generic/gdi/salgdi.cxx
@@ -613,7 +613,7 @@ bool X11SalGraphics::drawPolyPolygon(
cairo_t* cr = getCairoContext();
clipRegion(cr);
- for(auto const& rPolygon : aPolyPolygon)
+ for(auto const& rPolygon : std::as_const(aPolyPolygon))
{
const sal_uInt32 nPointCount(rPolygon.count());