fix typos

This commit is contained in:
wmayer 2016-12-19 14:07:35 +01:00
parent 101d280f6a
commit 72ab17fb48
11 changed files with 11 additions and 11 deletions

View File

@ -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 )

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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;

View File

@ -382,7 +382,7 @@ std::vector<SelectionObject> 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<App::DocumentObject*,SelectionObject>::iterator Jt = SortMap.find(It->pObject);
if (Jt != SortMap.end()) {

View File

@ -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()

View File

@ -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

View File

@ -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;

View File

@ -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);

View File

@ -1898,7 +1898,7 @@ void PropertyPlacementItem::setValue(const QVariant& value)
if (!value.canConvert<Base::Placement>())
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;