namingService.Register(aStudy, "/Study");
// Assign the value of the IOR in the study->root
- if ( aStudy_i->GetImpl()->GetTransientReference().empty() ) {
- CORBA::String_var IORStudy = orb->object_to_string(aStudy);
- aStudy_i->GetImpl()->SetTransientReference((char*)IORStudy.in());
- }
+ CORBA::String_var IORStudy = orb->object_to_string(aStudy);
+ aStudy_i->GetImpl()->SetTransientReference((char*)IORStudy.in());
+ aStudy_i->GetImpl()->GetDocument()->SetModified(false);
aStudy_i->_remove_ref();
}
}