From 0c3bfc4ff3986da09a252cdf995015cb8661ae75 Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 12 Feb 2019 11:16:52 +0100 Subject: [PATCH] fix minor issues --- src/Mod/Part/App/Geometry.h | 8 ++++---- src/Mod/Part/App/TrimmedCurvePyImp.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Mod/Part/App/Geometry.h b/src/Mod/Part/App/Geometry.h index d86cd869e8..25b5bde877 100644 --- a/src/Mod/Part/App/Geometry.h +++ b/src/Mod/Part/App/Geometry.h @@ -380,8 +380,8 @@ public: Base::Vector3d getStartPoint(bool emulateCCWXY) const; Base::Vector3d getEndPoint(bool emulateCCWXY) const; - inline virtual Base::Vector3d getStartPoint() const {return getStartPoint(false);}; - inline virtual Base::Vector3d getEndPoint() const {return getEndPoint(false);}; + inline virtual Base::Vector3d getStartPoint() const {return getStartPoint(false);} + inline virtual Base::Vector3d getEndPoint() const {return getEndPoint(false);} /*! * \deprecated use getLocation * \brief getCenter @@ -398,8 +398,8 @@ public: virtual void getRange(double& u, double& v, bool emulateCCWXY) const = 0; virtual void setRange(double u, double v, bool emulateCCWXY) = 0; - inline virtual void getRange(double& u, double& v) const { getRange(u,v,false);}; - inline virtual void setRange(double u, double v) { setRange(u,v,false);}; + inline virtual void getRange(double& u, double& v) const { getRange(u,v,false);} + inline virtual void setRange(double u, double v) { setRange(u,v,false);} bool isReversed() const; double getAngleXU(void) const; diff --git a/src/Mod/Part/App/TrimmedCurvePyImp.cpp b/src/Mod/Part/App/TrimmedCurvePyImp.cpp index 40a365905d..b937bbc95f 100644 --- a/src/Mod/Part/App/TrimmedCurvePyImp.cpp +++ b/src/Mod/Part/App/TrimmedCurvePyImp.cpp @@ -48,7 +48,7 @@ PyObject *TrimmedCurvePy::PyMake(struct _typeobject *, PyObject *, PyObject *) { // never create such objects with the constructor PyErr_SetString(PyExc_RuntimeError, - "You cannot create an instance of the abstract class 'BoundedCurve'."); + "You cannot create an instance of the abstract class 'TrimmedCurve'."); return 0; }