]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix a bug in GetExistingSubObjects method - wrong conversion from CORBA::Boolean...
authorvsr <vsr@opencascade.com>
Tue, 10 Feb 2015 16:02:51 +0000 (19:02 +0300)
committervsr <vsr@opencascade.com>
Tue, 10 Feb 2015 16:02:51 +0000 (19:02 +0300)
src/GEOM_I/GEOM_IShapesOperations_i.cc

index 6da56ceddffdbf78017a7c77380d6535948eba41..1e88b88f904adebcd032ecf817d7cb1316ef6ab0 100644 (file)
@@ -692,7 +692,7 @@ GEOM_IShapesOperations_i::GetExistingSubObjects (GEOM::GEOM_Object_ptr theShape,
   if (aShape.IsNull()) return aSeq._retn();
 
   Handle(TColStd_HSequenceOfTransient) aHSeq =
-    GetOperations()->GetExistingSubObjects(aShape, theGroupsOnly);
+    GetOperations()->GetExistingSubObjects(aShape, (Standard_Boolean)theGroupsOnly);
   if (!GetOperations()->IsDone() || aHSeq.IsNull())
     return aSeq._retn();