Salome HOME
latests developments debug and porting Python3
[modules/hydro.git] / src / HYDROData / HYDROData_Region.cxx
index 37887cfb774b4c6e66b217d7d9be91ab18cbb57a..c3876616505a5a5dc3c123e92329eff369057a05 100644 (file)
@@ -101,7 +101,7 @@ HYDROData_SequenceOfObjects HYDROData_Region::GetAllReferenceObjects() const
 
 bool HYDROData_Region::AddZone( const Handle(HYDROData_Zone)& theZone )
 {
-  Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( myLab );
+  Handle(HYDROData_Document) aDocument = HYDROData_Document::Document();
 
   if ( theZone.IsNull() )
     return false;