Fix some copyright issues reported by luzpaz

Fix some typos reported by kkremitzi
Remove resetTouched which was dead code following update on Document management
This commit is contained in:
Jean-Marie Verdun
2019-08-30 08:58:09 +02:00
committed by wmayer
parent ead104fe0f
commit ee530a4634
8 changed files with 10 additions and 30 deletions

View File

@@ -1295,24 +1295,6 @@ void Document::emptyDocument()
this->d->lastObjectId = 0;
}
void Document::resetTouched()
{
/*
for (std::map<std::string,DocumentObject*>::iterator It= this->d->objectMap.begin();It!=this->d->objectMap.end();++It) {
It->second->connectRelabelSignals();
try {
It->second->onDocumentRestored();
It->second->ExpressionEngine.onDocumentRestored();
}
catch (const Base::Exception& e) {
Base::Console().Error("Error in %s: %s\n", It->second->Label.getValue(), e.what());
}
It->second->purgeTouched();
}
*/
}
void Document::clearUndos()
{