From a3953e95dffaf647f7b21507e7eafc4100da1cff Mon Sep 17 00:00:00 2001 From: luzpaz Date: Fri, 15 Sep 2017 00:18:44 -0400 Subject: [PATCH] misc typos misc-typos --- src/App/GeoFeatureGroupExtension.h | 8 ++++---- src/App/PropertyLinks.h | 2 +- src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/App/GeoFeatureGroupExtension.h b/src/App/GeoFeatureGroupExtension.h index b4d701b405..8992b2cdfd 100644 --- a/src/App/GeoFeatureGroupExtension.h +++ b/src/App/GeoFeatureGroupExtension.h @@ -103,11 +103,11 @@ public: /// obj and from obj excluding expressions and stopping the recursion at other geofeaturegroups. /// The result is the combination of CSOutList and CSInList. static std::vector getCSRelevantLinks(const App::DocumentObject* obj); - /// Checks if the links of the given object comply with all GeoFeatureGroup requrirements, that means - /// if normal links are only withing the parent GeoFeatureGroup. + /// Checks if the links of the given object comply with all GeoFeatureGroup requirements, that means + /// if normal links are only within the parent GeoFeatureGroup. static bool areLinksValid(const App::DocumentObject* obj); - /// Checks if the given link complies with all GeoFeatureGroup requrirements, that means - /// if normal links are only withing the parent GeoFeatureGroup. + /// Checks if the given link complies with all GeoFeatureGroup requirements, that means + /// if normal links are only within the parent GeoFeatureGroup. static bool isLinkValid(App::Property* link); //Returns all objects that are wrongly linked from this object, meaning which are out of scope of the //links of obj diff --git a/src/App/PropertyLinks.h b/src/App/PropertyLinks.h index dc7d62c0cf..e69b874d8b 100644 --- a/src/App/PropertyLinks.h +++ b/src/App/PropertyLinks.h @@ -78,7 +78,7 @@ public: void setScope(LinkScope scope) {_pcScope = scope;}; /** * @brief Get the links scope - * Retreive what kind of links are allowed. Only in the Local GeoFeatureGroup, in this and + * Retrieve what kind of links are allowed. Only in the Local GeoFeatureGroup, in this and * all Childs or to all objects within the Glocal scope. */ LinkScope getScope() {return _pcScope;}; diff --git a/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.cpp b/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.cpp index 353c3b7987..9e3aa1ce0b 100644 --- a/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.cpp +++ b/src/Mod/Fem/Gui/TaskFemConstraintFluidBoundary.cpp @@ -205,7 +205,7 @@ TaskFemConstraintFluidBoundary::TaskFemConstraintFluidBoundary(ViewProviderFemCo if (pcPart) { // deduct dimension from part_obj.Shape.ShapeType const TopoDS_Shape & pShape = pcPart->Shape.getShape().getShape(); const TopAbs_ShapeEnum shapeType = pShape.IsNull() ? TopAbs_SHAPE : pShape.ShapeType(); - if (shapeType == TopAbs_SOLID || shapeType ==TopAbs_COMPSOLID) // COMPSOLID is solids conected by faces + if (shapeType == TopAbs_SOLID || shapeType ==TopAbs_COMPSOLID) // COMPSOLID is solids connected by faces dimension =3; else if (shapeType == TopAbs_FACE || shapeType == TopAbs_SHELL) dimension =2;