diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 15:54:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-20 18:37:47 +0200 |
commit | 50a6041bfac60ab03ec896bd638504524853300d (patch) | |
tree | 0178900643552698db356a0e3c70c94239ad5577 /vcl/qt5 | |
parent | 102a94c9de3c8c4d1326022dd14a300d6b72e222 (diff) |
loplugin:constvars in vcl
Change-Id: Ic454a4d9520992eaecef4b64ec73d49e52ffcc2c
Reviewed-on: https://gerrit.libreoffice.org/77828
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/qt5')
-rw-r--r-- | vcl/qt5/Qt5Graphics_GDI.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Graphics_GDI.cxx b/vcl/qt5/Qt5Graphics_GDI.cxx index f95f18af474c..2aa70949dc32 100644 --- a/vcl/qt5/Qt5Graphics_GDI.cxx +++ b/vcl/qt5/Qt5Graphics_GDI.cxx @@ -127,7 +127,7 @@ bool Qt5Graphics::setClipRegion(const vcl::Region& rRegion) QRegion aQRegion; RectangleVector aRectangles; rRegion.GetRegionRectangles(aRectangles); - for (auto& rRect : aRectangles) + for (const auto& rRect : aRectangles) aQRegion += toQRect(rRect); m_aClipRegion = aQRegion; if (!m_aClipPath.isEmpty()) |