]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Minor changes.
authoradv <adv@opencascade.com>
Fri, 25 Oct 2013 04:31:05 +0000 (04:31 +0000)
committeradv <adv@opencascade.com>
Fri, 25 Oct 2013 04:31:05 +0000 (04:31 +0000)
src/HYDROData/test_HYDROData_Iterator.cxx

index 02a0b4a99f911346525a478f4dda5c2d6151a730..3cd96f0a45ffbb07e6e2b53e408fa2e4e62384b3 100644 (file)
@@ -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);