Removed duplicate calls setupBeforeSave and initAfterRead

p4#: 20998
This commit is contained in:
Magne Sjaastad 2013-03-20 13:40:26 +01:00
parent 06a2f7e17f
commit ddade8a6cf

View File

@ -92,7 +92,6 @@ void PdmObjectGroup::initAfterReadTraversal(PdmObject* object)
for (cIdx = 0; cIdx < children.size(); ++cIdx)
{
PdmObjectGroup::initAfterReadTraversal(children[cIdx]);
if (children[cIdx]) children[cIdx]->initAfterRead();
}
object->initAfterRead();
@ -203,7 +202,6 @@ void PdmDocument::setupBeforeSaveTraversal(PdmObject * object)
for (cIdx = 0; cIdx < children.size(); ++cIdx)
{
PdmDocument::setupBeforeSaveTraversal(children[cIdx]);
if (children[cIdx]) children[cIdx]->setupBeforeSave();
}
object->setupBeforeSave();