[Libreoffice-commits] core.git: basegfx/source

Stephan Bergmann sbergman at redhat.com
Mon Nov 27 14:41:50 UTC 2017


 basegfx/source/polygon/b3dpolypolygon.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit cb80350a1a95b9935ca08399672fb67bf4a92e0a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Nov 27 15:40:38 2017 +0100

    loplugin:unnecessaryparen
    
    Change-Id: Ief879dde0613859a9ea9b3e3e70938594ab99209

diff --git a/basegfx/source/polygon/b3dpolypolygon.cxx b/basegfx/source/polygon/b3dpolypolygon.cxx
index 9aa8c7809982..37186aea94b3 100644
--- a/basegfx/source/polygon/b3dpolypolygon.cxx
+++ b/basegfx/source/polygon/b3dpolypolygon.cxx
@@ -264,7 +264,7 @@ namespace basegfx
     {
         for(sal_uInt32 a(0); a < mpPolyPolygon->count(); a++)
         {
-            if((mpPolyPolygon->getB3DPolygon(a)).areBColorsUsed())
+            if(mpPolyPolygon->getB3DPolygon(a).areBColorsUsed())
             {
                 return true;
             }
@@ -289,7 +289,7 @@ namespace basegfx
     {
         for(sal_uInt32 a(0); a < mpPolyPolygon->count(); a++)
         {
-            if((mpPolyPolygon->getB3DPolygon(a)).areNormalsUsed())
+            if(mpPolyPolygon->getB3DPolygon(a).areNormalsUsed())
             {
                 return true;
             }
@@ -314,7 +314,7 @@ namespace basegfx
     {
         for(sal_uInt32 a(0); a < mpPolyPolygon->count(); a++)
         {
-            if((mpPolyPolygon->getB3DPolygon(a)).areTextureCoordinatesUsed())
+            if(mpPolyPolygon->getB3DPolygon(a).areTextureCoordinatesUsed())
             {
                 return true;
             }
@@ -365,7 +365,7 @@ namespace basegfx
 
         for(sal_uInt32 a(0); !bRetval && a < mpPolyPolygon->count(); a++)
         {
-            if((mpPolyPolygon->getB3DPolygon(a)).hasDoublePoints())
+            if(mpPolyPolygon->getB3DPolygon(a).hasDoublePoints())
             {
                 bRetval = true;
             }


More information about the Libreoffice-commits mailing list