}
Handle(HYDROData_Document) HYDROData_Document::Document(
- const Handle(HYDROData_Entity)& theObject )
+ const TDF_Label& theObjectLabel )
{
Handle(HYDROData_Document) aResDoc;
- if ( theObject.IsNull() )
+ if ( theObjectLabel.IsNull() )
return aResDoc;
Handle(TDocStd_Document) anObjDoc;
try
{
- anObjDoc = TDocStd_Document::Get( theObject->Label() );
+ anObjDoc = TDocStd_Document::Get( theObjectLabel );
}
catch( ... )
{