Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The "MustBeUpdated" flag is moved to base data object class and implemented for calcu...
[modules/hydro.git]
/
src
/
HYDROData
/
HYDROData_Document.cxx
diff --git
a/src/HYDROData/HYDROData_Document.cxx
b/src/HYDROData/HYDROData_Document.cxx
index cc119abec3d9fa1731702aae3cf747cd8dd78f28..7d1a12552c9a37fe957777ba17e695a4e2625949 100644
(file)
--- a/
src/HYDROData/HYDROData_Document.cxx
+++ b/
src/HYDROData/HYDROData_Document.cxx
@@
-38,16
+38,16
@@
Handle(HYDROData_Document) HYDROData_Document::Document(const int theStudyID)
}
Handle(HYDROData_Document) HYDROData_Document::Document(
}
Handle(HYDROData_Document) HYDROData_Document::Document(
- const
Handle(HYDROData_Entity)& theObject
)
+ const
TDF_Label& theObjectLabel
)
{
Handle(HYDROData_Document) aResDoc;
{
Handle(HYDROData_Document) aResDoc;
- if ( theObject.IsNull() )
+ if ( theObject
Label
.IsNull() )
return aResDoc;
Handle(TDocStd_Document) anObjDoc;
try
{
return aResDoc;
Handle(TDocStd_Document) anObjDoc;
try
{
- anObjDoc = TDocStd_Document::Get( theObject
->Label()
);
+ anObjDoc = TDocStd_Document::Get( theObject
Label
);
}
catch( ... )
{
}
catch( ... )
{