- aRes = Intermediate;
- }
- else if( !myEditedObject.IsNull() && myEditedObject->GetName() != theName )
- {
- // check that there are no other objects with the same name in the document
- Handle(HYDROData_Entity) anObject = HYDROGUI_Tool::FindObjectByName( myModule, aName );
- if ( !anObject.IsNull() )