summaryrefslogtreecommitdiffstats
path: root/basegfx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-24 13:08:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-27 10:44:25 +0100
commit2e5508a17660401e1b4b489dbc9f70b978745b75 (patch)
tree881afcf9d8b9f0a653df0c94a8a2deefdf85670e /basegfx
parenttdf#113831 Show number of search results (diff)
downloadcore-2e5508a17660401e1b4b489dbc9f70b978745b75.tar.gz
core-2e5508a17660401e1b4b489dbc9f70b978745b75.zip
loplugin:unnecessaryparen check for (f1()).f2
Change-Id: I93257b0ddd41c649875124d6d5c5faeaa431bae3 Reviewed-on: https://gerrit.libreoffice.org/45218 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b2dpolypolygon.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/polygon/b2dpolypolygon.cxx b/basegfx/source/polygon/b2dpolypolygon.cxx
index eaed3bacdc54..977adde32d7f 100644
--- a/basegfx/source/polygon/b2dpolypolygon.cxx
+++ b/basegfx/source/polygon/b2dpolypolygon.cxx
@@ -333,7 +333,7 @@ namespace basegfx
// no Polygon exists.
for(sal_uInt32 a(0); bRetval && a < mpPolyPolygon->count(); a++)
{
- if(!(mpPolyPolygon->getB2DPolygon(a)).isClosed())
+ if(!mpPolyPolygon->getB2DPolygon(a).isClosed())
{
bRetval = false;
}
@@ -362,7 +362,7 @@ namespace basegfx
for(sal_uInt32 a(0); !bRetval && a < mpPolyPolygon->count(); a++)
{
- if((mpPolyPolygon->getB2DPolygon(a)).hasDoublePoints())
+ if(mpPolyPolygon->getB2DPolygon(a).hasDoublePoints())
{
bRetval = true;
}