From a1f8a27ef0a5181aebb3d080fc0627a1c0fda953 Mon Sep 17 00:00:00 2001 From: azv Date: Mon, 9 Jan 2017 07:42:16 +0300 Subject: [PATCH] Remove trailing whitespaces --- src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.cpp | 6 +++--- src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.h | 2 +- src/GeomAlgoAPI/GeomAlgoAPI_Symmetry.cpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.cpp index 185a2ca8b..f738e5c41 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.cpp @@ -134,7 +134,7 @@ namespace GeomAlgoAPI_ShapeAPI std::shared_ptr thePoint) throw (GeomAlgoAPI_Exception) { GeomAlgoAPI_Symmetry aSymmetryAlgo(theSourceShape, thePoint); - + if (!aSymmetryAlgo.check()) { throw GeomAlgoAPI_Exception(aSymmetryAlgo.getError()); } @@ -156,7 +156,7 @@ namespace GeomAlgoAPI_ShapeAPI std::shared_ptr theAxis) throw (GeomAlgoAPI_Exception) { GeomAlgoAPI_Symmetry aSymmetryAlgo(theSourceShape, theAxis); - + if (!aSymmetryAlgo.check()) { throw GeomAlgoAPI_Exception(aSymmetryAlgo.getError()); } @@ -178,7 +178,7 @@ namespace GeomAlgoAPI_ShapeAPI std::shared_ptr thePlane) throw (GeomAlgoAPI_Exception) { GeomAlgoAPI_Symmetry aSymmetryAlgo(theSourceShape, thePlane); - + if (!aSymmetryAlgo.check()) { throw GeomAlgoAPI_Exception(aSymmetryAlgo.getError()); } diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.h b/src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.h index da69e20d4..fbed6c1cc 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.h +++ b/src/GeomAlgoAPI/GeomAlgoAPI_ShapeAPI.h @@ -70,7 +70,7 @@ public: std::shared_ptr theSourceShape, std::shared_ptr theStartPoint, std::shared_ptr theEndPoint) throw (GeomAlgoAPI_Exception); - + /// Performs a symmetry by a point static std::shared_ptr makeSymmetry( std::shared_ptr theSourceShape, diff --git a/src/GeomAlgoAPI/GeomAlgoAPI_Symmetry.cpp b/src/GeomAlgoAPI/GeomAlgoAPI_Symmetry.cpp index e8f4db197..dedd3caa9 100644 --- a/src/GeomAlgoAPI/GeomAlgoAPI_Symmetry.cpp +++ b/src/GeomAlgoAPI/GeomAlgoAPI_Symmetry.cpp @@ -105,9 +105,9 @@ void GeomAlgoAPI_Symmetry::build() return; } } - + const TopoDS_Shape& aSourceShape = mySourceShape->impl(); - + if(aSourceShape.IsNull()) { myError = "Mirror builder :: source shape does not contain any actual shape."; return; -- 2.39.2