diff --git a/src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_SubMesh.cpp b/src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_SubMesh.cpp index 11dbb124a..c927e5c16 100644 --- a/src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_SubMesh.cpp +++ b/src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_SubMesh.cpp @@ -121,7 +121,7 @@ bool SMESHDS_SubMesh::RemoveElement(const SMDS_MeshElement * ME, bool isElemDele } if (!IsComplexSubmesh()) { - if ( ME->getshapeId() != myIndex ) // elem not in a pool can loose it's data already + if ( ME->getshapeId() != myIndex ) // elem not in a pool can lose its data already { if ( isElemDeleted ) for ( size_t i = 0; i < myElements.size(); ++i ) diff --git a/src/App/PropertyFile.cpp b/src/App/PropertyFile.cpp index f5a1137ff..7ab448af7 100644 --- a/src/App/PropertyFile.cpp +++ b/src/App/PropertyFile.cpp @@ -182,7 +182,7 @@ void PropertyFileIncluded::setValue(const char* sFile, const char* sName) // directory: // When a file is read-only it is supposed to be assigned to a // PropertyFileIncluded instance. In this case we must copy the - // file because otherwise the above instance looses its data. + // file because otherwise the above instance loses its data. // If the file is writable it is supposed to be of free use and // it can be simply renamed. diff --git a/src/Gui/MDIView.cpp b/src/Gui/MDIView.cpp index 9567cf96a..c06971703 100644 --- a/src/Gui/MDIView.cpp +++ b/src/Gui/MDIView.cpp @@ -178,7 +178,7 @@ void MDIView::closeEvent(QCloseEvent *e) } // Note: When using QMdiArea we must not use removeWindow() - // because otherwise the QMdiSubWindow will loose its parent + // because otherwise the QMdiSubWindow will lose its parent // and thus the notification in QMdiSubWindow::closeEvent of // other mdi windows to get maximized if this window // is maximized will fail. diff --git a/src/Gui/MainWindow.cpp b/src/Gui/MainWindow.cpp index 01002cb27..23074e926 100644 --- a/src/Gui/MainWindow.cpp +++ b/src/Gui/MainWindow.cpp @@ -783,7 +783,7 @@ void MainWindow::removeWindow(Gui::MDIView* view) QWidget* parent = view->parentWidget(); // The call of 'd->mdiArea->removeSubWindow(parent)' causes the QMdiSubWindow - // to loose its parent and thus the notification in QMdiSubWindow::closeEvent + // to lose its parent and thus the notification in QMdiSubWindow::closeEvent // of other mdi windows to get maximized if this window is maximized will fail. // However, we must let it here otherwise deleting MDI child views directly can // cause other problems. diff --git a/src/Gui/ProgressBar.h b/src/Gui/ProgressBar.h index 0bdc70074..d99439cae 100644 --- a/src/Gui/ProgressBar.h +++ b/src/Gui/ProgressBar.h @@ -175,7 +175,7 @@ private: void resetObserveEventFilter(); /** Gets the events under control */ void enterControlEvents(); - /** Looses the control over incoming events*/ + /** Loses the control over incoming events*/ void leaveControlEvents(); //@} ProgressBarPrivate* d; diff --git a/src/Gui/Selection.cpp b/src/Gui/Selection.cpp index 8f0b726a4..3e9bac496 100644 --- a/src/Gui/Selection.cpp +++ b/src/Gui/Selection.cpp @@ -382,7 +382,7 @@ std::vector SelectionSingleton::getSelectionEx(const char* pDoc } } - // The map looses the order thus we have to go again through the list and pick up the SelectionObject from the map + // The map loses the order thus we have to go again through the list and pick up the SelectionObject from the map for (std::list<_SelObj>::const_iterator It = _SelList.begin();It != _SelList.end();++It) { std::map::iterator Jt = SortMap.find(It->pObject); if (Jt != SortMap.end()) { diff --git a/src/Gui/TextEdit.cpp b/src/Gui/TextEdit.cpp index b3f19b0e6..932c2f7dc 100644 --- a/src/Gui/TextEdit.cpp +++ b/src/Gui/TextEdit.cpp @@ -156,7 +156,7 @@ void TextEdit::complete() /** * Creates the listbox containing all possibilities for the completion. - * The listbox is closed when ESC is pressed, the text edit field looses focus or a + * The listbox is closed when ESC is pressed, the text edit field loses focus or a * mouse button was pressed. */ void TextEdit::createListBox() diff --git a/src/Gui/View3DInventor.cpp b/src/Gui/View3DInventor.cpp index 0c29a3503..a6e7b2cfc 100644 --- a/src/Gui/View3DInventor.cpp +++ b/src/Gui/View3DInventor.cpp @@ -974,7 +974,7 @@ void View3DInventor::setCurrentViewMode(ViewMode newmode) // be avoided because when two or more windows are either in 'TopLevel' or 'Fullscreen' // mode only the last window gets all key event even if it is not the active one. // - // It is important to set the focus proxy to get all key events otherwise we would loose + // It is important to set the focus proxy to get all key events otherwise we would lose // control after redirecting the first key event to the GL widget. if (oldmode == Child) { // To make a global shortcut working from this window we need to add diff --git a/src/Gui/ViewProvider.h b/src/Gui/ViewProvider.h index 27de3423e..7cc0f886e 100644 --- a/src/Gui/ViewProvider.h +++ b/src/Gui/ViewProvider.h @@ -255,7 +255,7 @@ public: protected: /// is called by the document when the provider goes in edit mode virtual bool setEdit(int ModNum); - /// is called when you loose the edit mode + /// is called when you lose the edit mode virtual void unsetEdit(int ModNum); /// return the edit mode or -1 if nothing is being edited int getEditingMode() const; diff --git a/src/Gui/ViewProviderPythonFeature.h b/src/Gui/ViewProviderPythonFeature.h index 900a63ec8..cb4402bb1 100644 --- a/src/Gui/ViewProviderPythonFeature.h +++ b/src/Gui/ViewProviderPythonFeature.h @@ -387,7 +387,7 @@ protected: if (!ok) ok = ViewProviderT::setEdit(ModNum); return ok; } - /// is called when you loose the edit mode + /// is called when you lose the edit mode virtual void unsetEdit(int ModNum) { bool ok = imp->unsetEdit(ModNum); diff --git a/src/Gui/propertyeditor/PropertyItem.cpp b/src/Gui/propertyeditor/PropertyItem.cpp index 4bade8509..918c34cfc 100644 --- a/src/Gui/propertyeditor/PropertyItem.cpp +++ b/src/Gui/propertyeditor/PropertyItem.cpp @@ -1898,7 +1898,7 @@ void PropertyPlacementItem::setValue(const QVariant& value) if (!value.canConvert()) return; // Accept this only if the user changed the axis, angle or position but - // not if >this< item looses focus + // not if >this< item loses focus if (!changed_value) return; changed_value = false;