From 4f28e731debcb25a723d874c7fab59a6e5cf67d4 Mon Sep 17 00:00:00 2001 From: spo Date: Thu, 17 Sep 2015 08:55:20 +0300 Subject: [PATCH] Spell-checking --- src/Model/Model_AttributeRefList.h | 4 ++-- src/Model/Model_Objects.cpp | 2 +- src/ModelAPI/ModelAPI_Object.h | 2 +- src/ModelAPI/ModelAPI_Result.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Model/Model_AttributeRefList.h b/src/Model/Model_AttributeRefList.h index c329662d0..e92f5eae3 100644 --- a/src/Model/Model_AttributeRefList.h +++ b/src/Model/Model_AttributeRefList.h @@ -16,7 +16,7 @@ /**\class Model_AttributeRefList * \ingroup DataModel * \brief Attribute that contains list of references to features (located in the same document). - * For the current moment it does not support references t oobjects in other documents. + * For the current moment it does not support references to objects in other documents. */ class Model_AttributeRefList : public ModelAPI_AttributeRefList @@ -50,7 +50,7 @@ class Model_AttributeRefList : public ModelAPI_AttributeRefList /// Substitutes the feature by another one. Does nothing if such object is not found. MODEL_EXPORT virtual void substitute(const ObjectPtr& theCurrent, const ObjectPtr& theNew); - /// Substitutes the object by another one and back. So, features wil become exchanged in the list + /// Substitutes the object by another one and back. So, features will become exchanged in the list MODEL_EXPORT virtual void exchange(const ObjectPtr& theObject1, const ObjectPtr& theObject2); /// Removes the last element in the list. diff --git a/src/Model/Model_Objects.cpp b/src/Model/Model_Objects.cpp index 535acd300..2ac45f731 100644 --- a/src/Model/Model_Objects.cpp +++ b/src/Model/Model_Objects.cpp @@ -769,7 +769,7 @@ void Model_Objects::synchronizeBackRefs() } std::list >::iterator aCIter = aConcealed.begin(); for(; aCIter != aConcealed.end(); aCIter++) { - if (aCIter->first->isConcealed() != aCIter->second) { // somethign is changed => produce event + if (aCIter->first->isConcealed() != aCIter->second) { // something is changed => produce event if (aCIter->second) { // was concealed become not => creation event static Events_ID anEvent = Events_Loop::eventByName(EVENT_OBJECT_CREATED); ModelAPI_EventCreator::get()->sendUpdated(aCIter->first, anEvent); diff --git a/src/ModelAPI/ModelAPI_Object.h b/src/ModelAPI/ModelAPI_Object.h index 591c75c00..3ef14da91 100644 --- a/src/ModelAPI/ModelAPI_Object.h +++ b/src/ModelAPI/ModelAPI_Object.h @@ -69,7 +69,7 @@ class ModelAPI_Object: public ModelAPI_Entity /// Returns true if object must be displayed in the viewer: flag is stored in the /// data model, so on undo/redo, open/save or recreation of object by history-playing it keeps - /// the original state i nthe current transaction. + /// the original state in the current transaction. MODELAPI_EXPORT virtual bool isDisplayed(); /// Sets the displayed/hidden state of the object. If it is changed, sends the "redisplay" diff --git a/src/ModelAPI/ModelAPI_Result.h b/src/ModelAPI/ModelAPI_Result.h index d71e5c385..7e3e4ebba 100644 --- a/src/ModelAPI/ModelAPI_Result.h +++ b/src/ModelAPI/ModelAPI_Result.h @@ -43,7 +43,7 @@ class ModelAPI_Result : public ModelAPI_Object /// Enables/disables the result. The disabled result does not participate in any calculation /// and visualization: like it was removed. But it keeps the general parameters: colors, /// visibility, etc. - /// \param theThis pointer to this object, needed to generate all events if it is neccessary + /// \param theThis pointer to this object, needed to generate all events if it is necessary /// \param theFlag makes disabled if it is true /// \returns true if state is really changed MODELAPI_EXPORT virtual bool setDisabled(std::shared_ptr theThis, -- 2.39.2