From 23c166399da7dd1e9ec0271a7705573064ec2473 Mon Sep 17 00:00:00 2001 From: luz paz Date: Sat, 29 Jan 2022 18:49:04 -0500 Subject: [PATCH] TD: cleanup after #5457 [skip ci] Fix header uniformity Fix grammar Fix trailing whitespace --- src/Mod/TechDraw/App/FeatureProjection.cpp | 2 +- src/Mod/TechDraw/App/ProjectionAlgos.cpp | 28 +++++++++++----------- src/Mod/TechDraw/App/ProjectionAlgos.h | 2 +- src/Mod/TechDraw/Gui/TaskProjection.h | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/Mod/TechDraw/App/FeatureProjection.cpp b/src/Mod/TechDraw/App/FeatureProjection.cpp index 3acf63af0c..cdd150d796 100644 --- a/src/Mod/TechDraw/App/FeatureProjection.cpp +++ b/src/Mod/TechDraw/App/FeatureProjection.cpp @@ -47,7 +47,7 @@ using namespace TechDraw; PROPERTY_SOURCE(TechDraw::FeatureProjection, Part::Feature) -FeatureProjection::FeatureProjection() +FeatureProjection::FeatureProjection() { static const char *group = "Projection"; ADD_PROPERTY_TYPE(Source ,(0),group,App::Prop_None,"Shape to project"); diff --git a/src/Mod/TechDraw/App/ProjectionAlgos.cpp b/src/Mod/TechDraw/App/ProjectionAlgos.cpp index c9a07a59c8..a3f1e69f70 100644 --- a/src/Mod/TechDraw/App/ProjectionAlgos.cpp +++ b/src/Mod/TechDraw/App/ProjectionAlgos.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) Jürgen Riegel (juergen.riegel@web.de) 2002 * + * Copyright (c) 2002 Jürgen Riegel * * * * This file is part of the FreeCAD CAx development system. * * * @@ -134,13 +134,13 @@ void ProjectionAlgos::execute(void) HI = build3dCurves(shapes.IsoLineHCompound());// isoparamtriques invisibly } -string ProjectionAlgos::getSVG(ExtractionType type, - double tolerance, - XmlAttributes V_style, - XmlAttributes V0_style, - XmlAttributes V1_style, - XmlAttributes H_style, - XmlAttributes H0_style, +string ProjectionAlgos::getSVG(ExtractionType type, + double tolerance, + XmlAttributes V_style, + XmlAttributes V0_style, + XmlAttributes V1_style, + XmlAttributes H_style, + XmlAttributes H0_style, XmlAttributes H1_style) { stringstream result; @@ -157,7 +157,7 @@ string ProjectionAlgos::getSVG(ExtractionType type, BRepMesh_IncrementalMesh(H,tolerance); result << "" << endl << output.exportEdges(H) @@ -174,7 +174,7 @@ string ProjectionAlgos::getSVG(ExtractionType type, BRepMesh_IncrementalMesh(HO,tolerance); result << "" << endl << output.exportEdges(HO) @@ -190,7 +190,7 @@ string ProjectionAlgos::getSVG(ExtractionType type, BRepMesh_IncrementalMesh(VO,tolerance); result << "" << endl << output.exportEdges(VO) @@ -206,7 +206,7 @@ string ProjectionAlgos::getSVG(ExtractionType type, BRepMesh_IncrementalMesh(V,tolerance); result << "" << endl << output.exportEdges(V) @@ -222,7 +222,7 @@ string ProjectionAlgos::getSVG(ExtractionType type, BRepMesh_IncrementalMesh(V1,tolerance); result << "" << endl << output.exportEdges(V1) @@ -239,7 +239,7 @@ string ProjectionAlgos::getSVG(ExtractionType type, BRepMesh_IncrementalMesh(H1,tolerance); result << "" << endl << output.exportEdges(H1) diff --git a/src/Mod/TechDraw/App/ProjectionAlgos.h b/src/Mod/TechDraw/App/ProjectionAlgos.h index dd60216c99..a8b96fba75 100644 --- a/src/Mod/TechDraw/App/ProjectionAlgos.h +++ b/src/Mod/TechDraw/App/ProjectionAlgos.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (c) Jürgen Riegel (juergen.riegel@web.de) 2009 * + * Copyright (c) 2009 Jürgen Riegel * * * * This file is part of the FreeCAD CAx development system. * * * diff --git a/src/Mod/TechDraw/Gui/TaskProjection.h b/src/Mod/TechDraw/Gui/TaskProjection.h index 1fa6392600..57553aec93 100644 --- a/src/Mod/TechDraw/Gui/TaskProjection.h +++ b/src/Mod/TechDraw/Gui/TaskProjection.h @@ -71,7 +71,7 @@ public: public: /// is called the TaskView when the dialog is opened virtual void open(); - /// is called by the framework if an button is clicked which has no accept or reject role + /// is called by the framework if a button is clicked which has no accept or reject role virtual void clicked(int); /// is called by the framework if the dialog is accepted (Ok) virtual bool accept();