diff --git a/src/App/Document.cpp b/src/App/Document.cpp index 40a18ba8b..04ae89130 100644 --- a/src/App/Document.cpp +++ b/src/App/Document.cpp @@ -322,7 +322,7 @@ void Document::abortTransaction() { if (d->activeUndoTransaction) { d->rollback = true; - // applieing the so far made changes + // applying the so far made changes d->activeUndoTransaction->apply(*this,false); d->rollback = false; diff --git a/src/Gui/CommandDoc.cpp b/src/Gui/CommandDoc.cpp index a30af12af..8e1e79cfb 100644 --- a/src/Gui/CommandDoc.cpp +++ b/src/Gui/CommandDoc.cpp @@ -909,7 +909,7 @@ void StdCmdDelete::activated(int iMsg) // go through all documents const SelectionSingleton& rSel = Selection(); const std::vector docs = App::GetApplication().getDocuments(); - for ( std::vector::const_iterator it = docs.begin(); it != docs.end(); ++it) { + for (std::vector::const_iterator it = docs.begin(); it != docs.end(); ++it) { Gui::Document* pGuiDoc = Gui::Application::Instance->getDocument(*it); std::vector sel = rSel.getSelectionEx((*it)->getName()); if (!sel.empty()) { @@ -918,7 +918,7 @@ void StdCmdDelete::activated(int iMsg) Gui::ViewProvider* vp = pGuiDoc->getViewProvider(ft->getObject()); if (vp) { // ask the ViewProvider if its want to do some clean up - if(vp->onDelete(ft->getSubNames()) ) + if (vp->onDelete(ft->getSubNames())) doCommand(Doc,"App.getDocument(\"%s\").removeObject(\"%s\")" ,(*it)->getName(), ft->getFeatName()); } @@ -930,7 +930,7 @@ void StdCmdDelete::activated(int iMsg) bool StdCmdDelete::isActive(void) { - return Selection().getCompleteSelection().size() > 0; + return Selection().getCompleteSelection().size() > 0; } //=========================================================================== diff --git a/src/Mod/Sketcher/App/SketchObject.h b/src/Mod/Sketcher/App/SketchObject.h index 17fa4769d..4a683ef57 100644 --- a/src/Mod/Sketcher/App/SketchObject.h +++ b/src/Mod/Sketcher/App/SketchObject.h @@ -44,9 +44,9 @@ public: SketchObject(); /// Property - Part ::PropertyGeometryList Geometry; Sketcher::PropertyConstraintList Constraints; App ::PropertyLinkSubList ExternalConstraints; + Part ::PropertyGeometryList Geometry; /** @name methods overide Feature */ //@{ /// recalculate the Feature