From: Paul RASCLE Date: Fri, 7 Jun 2019 14:37:43 +0000 (+0200) Subject: multistudy removal X-Git-Tag: SH_V2_2_0~99^2~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=74b528b43e2bb9395f6d8bd179a3c8a8ada6cb1c;p=modules%2Fhydro.git multistudy removal --- diff --git a/src/HYDRO_tests/test_HYDROData_DTM.cxx b/src/HYDRO_tests/test_HYDROData_DTM.cxx index 0cb700a8..9cc0ea75 100644 --- a/src/HYDRO_tests/test_HYDROData_DTM.cxx +++ b/src/HYDRO_tests/test_HYDROData_DTM.cxx @@ -672,7 +672,7 @@ void test_HYDROData_DTM::test_classifier_1() void test_HYDROData_DTM::test_profile_discretization_warnings() { - Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(1); + Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(); { Handle(HYDROData_Profile) aProfile = diff --git a/src/HYDRO_tests/test_HYDROData_PolylineXY.cxx b/src/HYDRO_tests/test_HYDROData_PolylineXY.cxx index cc07bbf7..5120fb09 100644 --- a/src/HYDRO_tests/test_HYDROData_PolylineXY.cxx +++ b/src/HYDRO_tests/test_HYDROData_PolylineXY.cxx @@ -626,7 +626,7 @@ void test_HYDROData_PolylineXY::test_import_from_sx() void test_HYDROData_PolylineXY::test_import_from_sx_options() { - Handle(HYDROData_Document) aDoc = HYDROData_Document::Document( 1 ); + Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(); TCollection_AsciiString fname = REF_DATA_PATH.toLatin1().data(); fname += "/trait_cote_lambert1N.sx"; @@ -662,7 +662,7 @@ void test_HYDROData_PolylineXY::test_import_from_sx_options() void test_HYDROData_PolylineXY::test_polyline_dbf_info_simple() { - Handle(HYDROData_Document) aDoc = HYDROData_Document::Document( 1 ); + Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(); Handle(HYDROData_PolylineXY) aPolyline = Handle(HYDROData_PolylineXY)::DownCast(aDoc->CreateObject(KIND_POLYLINEXY)); QStringList dbf_dummy, dbf_out; dbf_dummy << "n1" << "n2" << "n3" << "n4";