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:
committed by
wmayer
parent
ead104fe0f
commit
ee530a4634
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user