From b869b6e29e120fcc36ae102ebb7912162c53dfdf Mon Sep 17 00:00:00 2001 From: "luz.paz" Date: Fri, 19 Jul 2019 15:34:46 -0400 Subject: [PATCH] Fix typos in various src/Mod directories --- src/Mod/Part/Gui/SoBrepFaceSet.cpp | 2 +- src/Mod/Part/Gui/ViewProvider2DObject.cpp | 2 +- src/Mod/PartDesign/App/Body.cpp | 2 +- src/Mod/PartDesign/App/ShapeBinder.cpp | 2 +- src/Mod/PartDesign/Gui/ViewProviderShapeBinder.cpp | 2 +- src/Mod/Spreadsheet/App/PropertySheet.cpp | 2 +- src/Mod/Spreadsheet/App/SheetObserver.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Mod/Part/Gui/SoBrepFaceSet.cpp b/src/Mod/Part/Gui/SoBrepFaceSet.cpp index 6d96cebe8f..3004dbc938 100644 --- a/src/Mod/Part/Gui/SoBrepFaceSet.cpp +++ b/src/Mod/Part/Gui/SoBrepFaceSet.cpp @@ -717,7 +717,7 @@ bool SoBrepFaceSet::overrideMaterialBinding(SoGLRenderAction *action, SelContext // // Criteria of using material binding override: // 1) original material binding is either overall or per_part. We can - // support others, but ommitted here to simplify coding logic, and + // support others, but omitted here to simplify coding logic, and // because it seems FC only uses these two. // 2) either of the following : // a) has highlight or selection and Selection().needPickPoint, so that diff --git a/src/Mod/Part/Gui/ViewProvider2DObject.cpp b/src/Mod/Part/Gui/ViewProvider2DObject.cpp index b4c075c449..4ac85cc5ee 100644 --- a/src/Mod/Part/Gui/ViewProvider2DObject.cpp +++ b/src/Mod/Part/Gui/ViewProvider2DObject.cpp @@ -155,7 +155,7 @@ SoSeparator* ViewProvider2DObject::createGrid(void) // pre-selection highlight. No idea why the setting can leak out of a // separator. // - // What's the purpose of using SoDepthBuffer here anyway? If the intension + // What's the purpose of using SoDepthBuffer here anyway? If the intention // is to render grid always on top, shouldn't it be better to use // SoAnnotation? #if 0 diff --git a/src/Mod/PartDesign/App/Body.cpp b/src/Mod/PartDesign/App/Body.cpp index 3e9cd9a27d..0675f6bf82 100644 --- a/src/Mod/PartDesign/App/Body.cpp +++ b/src/Mod/PartDesign/App/Body.cpp @@ -513,7 +513,7 @@ App::DocumentObject *Body::getSubObject(const char *subname, (subname && !Data::ComplexGeoData::isMappedElement(subname) && strchr(subname,'.'))) return Part::BodyBase::getSubObject(subname,pyObj,pmat,transform,depth); - // We return the shape only if there are feature visibile inside + // We return the shape only if there are feature visible inside for(auto obj : Group.getValues()) { if(obj->Visibility.getValue() && obj->isDerivedFrom(PartDesign::Feature::getClassTypeId())) diff --git a/src/Mod/PartDesign/App/ShapeBinder.cpp b/src/Mod/PartDesign/App/ShapeBinder.cpp index d3eabb5979..e0c3c1df15 100644 --- a/src/Mod/PartDesign/App/ShapeBinder.cpp +++ b/src/Mod/PartDesign/App/ShapeBinder.cpp @@ -538,7 +538,7 @@ void SubShapeBinder::setLinks(std::mapgetNameInDocument()) FC_THROWM(Base::ValueError,"Invalid document object"); if(inSet.find(v.first)!=inSet.end()) - FC_THROWM(Base::ValueError, "Cyclic referece to " << v.first->getFullName()); + FC_THROWM(Base::ValueError, "Cyclic reference to " << v.first->getFullName()); if(v.second.empty()) { v.second.push_back(""); diff --git a/src/Mod/PartDesign/Gui/ViewProviderShapeBinder.cpp b/src/Mod/PartDesign/Gui/ViewProviderShapeBinder.cpp index 553e31019e..1f937564d8 100644 --- a/src/Mod/PartDesign/Gui/ViewProviderShapeBinder.cpp +++ b/src/Mod/PartDesign/Gui/ViewProviderShapeBinder.cpp @@ -200,7 +200,7 @@ PROPERTY_SOURCE(PartDesignGui::ViewProviderSubShapeBinder,PartGui::ViewProviderP ViewProviderSubShapeBinder::ViewProviderSubShapeBinder() { sPixmap = "PartDesign_SubShapeBinder.svg"; - //get the datum coloring sheme + //get the datum coloring scheme // set default color for datums (golden yellow with 60% transparency) ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath ( "User parameter:BaseApp/Preferences/Mod/PartDesign"); diff --git a/src/Mod/Spreadsheet/App/PropertySheet.cpp b/src/Mod/Spreadsheet/App/PropertySheet.cpp index 3c358fc645..b0caaf3f7f 100644 --- a/src/Mod/Spreadsheet/App/PropertySheet.cpp +++ b/src/Mod/Spreadsheet/App/PropertySheet.cpp @@ -1181,7 +1181,7 @@ void PropertySheet::renameObjectIdentifiers(const std::map(docObj))) { // const App::DocumentObject * docObj = dynamic_cast(getContainer()); diff --git a/src/Mod/Spreadsheet/App/SheetObserver.h b/src/Mod/Spreadsheet/App/SheetObserver.h index b570584582..e70c9b4a0c 100644 --- a/src/Mod/Spreadsheet/App/SheetObserver.h +++ b/src/Mod/Spreadsheet/App/SheetObserver.h @@ -29,7 +29,7 @@ namespace Spreadsheet { class PropertySheet; -// SheetObserver is obselete as PropertySheet is now derived from PropertyLinkBase +// SheetObserver is obsolete as PropertySheet is now derived from PropertyLinkBase class SheetObserver : public App::DocumentObserver { public: SheetObserver(App::Document* document, PropertySheet *_sheet);