From 74b528b43e2bb9395f6d8bd179a3c8a8ada6cb1c Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Fri, 7 Jun 2019 16:37:43 +0200 Subject: [PATCH] multistudy removal --- src/HYDRO_tests/test_HYDROData_DTM.cxx | 2 +- src/HYDRO_tests/test_HYDROData_PolylineXY.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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"; -- 2.39.2