Salome HOME
Windows compatibility V7_8_0a2 V7_8_0b1
authorana <ana@opencascade.com>
Fri, 1 Apr 2016 15:46:21 +0000 (18:46 +0300)
committerana <ana@opencascade.com>
Fri, 1 Apr 2016 15:46:21 +0000 (18:46 +0300)
src/GEOMImpl/GEOMImpl_IShapesOperations.hxx
src/GEOM_I/GEOM_IShapesOperations_i.cc

index d45ad5419db5a2cb459e19cfbbde6e373cd57cec..03882dda5a00bfe89ccf90a9850bfaa19ce63735 100644 (file)
@@ -499,7 +499,7 @@ class GEOMImpl_IShapesOperations : public GEOM_IOperations
    * \param theStats the operation statistics. Output parameter.
    * \return the shape without extracted sub-shapes.
    */
-  Handle(GEOM_Object) MakeExtraction
+  Standard_EXPORT Handle(GEOM_Object) MakeExtraction
                      (const Handle(GEOM_Object)              &theShape,
                       const Handle(TColStd_HArray1OfInteger) &theSubShapeIDs,
                       std::list<ExtractionStat>              &theStats);
index 02dcdcf91e323bc0586ccd9f826d4fcc740d1b4d..325612adbe6aeff8340187940e764fc895ffb712 100644 (file)
@@ -2320,7 +2320,7 @@ GEOM::GEOM_Object_ptr GEOM_IShapesOperations_i::MakeExtraction
 
     aResStat->indices = aResIDList;
 
-    theStats[i] = aResStat;
+    theStats[(_CORBA_ULong)i] = aResStat;
   }
 
   return GetObject(aResult);