diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 15:01:55 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-15 20:23:50 +0200 |
commit | 2dfb192edfd1ab10e9d39e265e26ac6db93ac755 (patch) | |
tree | 2b8faf5b57cfeb9ceb636783406caf64694a0ff9 /toolkit/source/helper | |
parent | 3c6cb83b80b502975dce89c02401a064872b5ea3 (diff) |
loplugin:sequenceloop in test..toolkit
Change-Id: Ic8dad06c535b0af713bfe7cd46e601c8ea7ba6c7
Reviewed-on: https://gerrit.libreoffice.org/77531
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit/source/helper')
-rw-r--r-- | toolkit/source/helper/vclunohelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx index 8fe3609f4b14..3e43f81502a8 100644 --- a/toolkit/source/helper/vclunohelper.cxx +++ b/toolkit/source/helper/vclunohelper.cxx @@ -133,7 +133,7 @@ vcl::Region VCLUnoHelper::GetRegion( const css::uno::Reference< css::awt::XRegio aRegion = pVCLRegion->GetRegion(); else { - css::uno::Sequence< css::awt::Rectangle > aRects = rxRegion->getRectangles(); + const css::uno::Sequence< css::awt::Rectangle > aRects = rxRegion->getRectangles(); for ( const auto& rRect : aRects ) aRegion.Union( VCLRectangle( rRect ) ); } |