[Libreoffice-commits] core.git: include/tools

Noel Grandin noel.grandin at collabora.co.uk
Fri Aug 18 12:27:03 UTC 2017


 include/tools/line.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 39cc076cb66071c1522fb554a1469c039b6b5770
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Fri Aug 18 14:22:57 2017 +0200

    loplugin:redundantparen
    
    Change-Id: Ie1bae8acdd70ba7943d8ae245d95dee16ce2e5d5

diff --git a/include/tools/line.hxx b/include/tools/line.hxx
index 58b94e0c68c0..97cf449fc1b1 100644
--- a/include/tools/line.hxx
+++ b/include/tools/line.hxx
@@ -46,7 +46,7 @@ public:
     bool            Intersection( const tools::Line& rLine, Point& rIntersection ) const;
 
     double          GetDistance( const double& rPtX, const double& rPtY ) const;
-    double          GetDistance( const Point& rPoint ) const { return( GetDistance( rPoint.X(), rPoint.Y() ) ); }
+    double          GetDistance( const Point& rPoint ) const { return GetDistance( rPoint.X(), rPoint.Y() ); }
 };
 
 } // namespace tools


More information about the Libreoffice-commits mailing list