summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-23 18:35:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-24 07:01:47 +0100
commit6028b64e27dc45f20aa4a4e0adbef1c03e91a79b (patch)
treefcdba02b18bc9081371b91681fcb898697155af6 /filter
parent92bab0f11e0a93005bfd13db3a0552ecaf082ecb (diff)
loplugin:passstuffbyref even more return improvements
Change-Id: I2a752025cd429e4d271626402dce5d8a8b0c76d2 Reviewed-on: https://gerrit.libreoffice.org/47021 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/svg/svgreader.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/svg/svgreader.cxx b/filter/source/svg/svgreader.cxx
index dfd269236ee1..43fe63b07ba6 100644
--- a/filter/source/svg/svgreader.cxx
+++ b/filter/source/svg/svgreader.cxx
@@ -136,7 +136,7 @@ bool PolyPolygonIsMixedOpenAndClosed( const basegfx::B2DPolyPolygon& rPoly )
// polygon and there are both closed and open polygons.
for( sal_uInt32 a(0); !bRetval && a < rPoly.count(); a++ )
{
- if ( (rPoly.getB2DPolygon(a)).isClosed() )
+ if ( rPoly.getB2DPolygon(a).isClosed() )
{
bClosed = true;
}