Salome HOME
mask traces
[modules/hydro.git] / src / HYDROData / HYDROData_Polyline3D.cxx
index ce4bb667dac514a4833fed2b76e306544cfebd7b..7ce105bb3877014a583ff8a5dc6b632f074e60e5 100644 (file)
@@ -50,7 +50,7 @@
 
 #include <TopTools_SequenceOfShape.hxx>
 
-#define _DEVDEBUG_
+//#define _DEVDEBUG_
 #include "HYDRO_trace.hxx"
 
 #include <QColor>
@@ -215,7 +215,7 @@ HYDROData_Polyline3D::Polyline3DPoints HYDROData_Polyline3D::GetProfilePoints3D(
 
   if (IsConvertToGlobal)
   {
-    Handle(HYDROData_Document) aDoc = HYDROData_Document::Document( myLab );
+    Handle(HYDROData_Document) aDoc = HYDROData_Document::Document();
     for (int i=1;i<=aResPoints.Size();i++)
     {
       gp_XYZ& point = aResPoints.ChangeValue(i);
@@ -349,7 +349,7 @@ Handle(HYDROData_ProfileUZ) HYDROData_Polyline3D::GetChildProfileUZ( const bool
   if ( !theIsCreate || !aProfileUZ.IsNull() )
     return aProfileUZ;
 
-  Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( myLab );
+  Handle(HYDROData_Document) aDocument = HYDROData_Document::Document();
   if ( aDocument.IsNull() )
     return aProfileUZ;