From: adv Date: Fri, 25 Oct 2013 04:31:05 +0000 (+0000) Subject: Minor changes. X-Git-Tag: BR_hydro_v_0_3~85 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=95cad0a12b663adbbd81b33de7968c4294ccebc4;p=modules%2Fhydro.git Minor changes. --- diff --git a/src/HYDROData/test_HYDROData_Iterator.cxx b/src/HYDROData/test_HYDROData_Iterator.cxx index 02a0b4a9..3cd96f0a 100644 --- a/src/HYDROData/test_HYDROData_Iterator.cxx +++ b/src/HYDROData/test_HYDROData_Iterator.cxx @@ -11,9 +11,9 @@ void test_HYDROData_Iterator::testOneKind() static const QString aName2("test_name2"); Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(1); - Handle(HYDROData_Object) anObj = aDoc->CreateObject(KIND_IMAGE); // image object + Handle(HYDROData_Entity) anObj = aDoc->CreateObject(KIND_IMAGE); // image object anObj->SetName(aName1); - // first HYDROData_Object must be destroyed because there is no hander pointer naymore + // first HYDROData_Entity must be destroyed because there is no hander pointer naymore anObj = aDoc->CreateObject(KIND_IMAGE); // second image object anObj->SetName(aName2); @@ -39,9 +39,9 @@ void test_HYDROData_Iterator::testAllKinds() static const QString aName2("test_name2"); Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(1); - Handle(HYDROData_Object) anObj = aDoc->CreateObject(KIND_IMAGE); // image object + Handle(HYDROData_Entity) anObj = aDoc->CreateObject(KIND_IMAGE); // image object anObj->SetName(aName1); - // first HYDROData_Object must be destroyed because there is no hander pointer naymore + // first HYDROData_Entity must be destroyed because there is no hander pointer naymore anObj = aDoc->CreateObject(KIND_IMAGE); // second image object anObj->SetName(aName2);