From: azv Date: Mon, 9 Jan 2017 04:42:16 +0000 (+0300) Subject: Remove trailing whitespaces X-Git-Tag: V_2.7.0~346^2~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a1f8a27ef0a5181aebb3d080fc0627a1c0fda953;p=modules%2Fshaper.git Remove trailing whitespaces --- 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;