0024911: Avoid using virtual functions in NCollection classes
[occt.git] / src / GeomInt / GeomInt_IntSS_1.cxx
index 31f53e0..b5e0724 100644 (file)
@@ -1507,7 +1507,7 @@ Standard_Boolean DecompositionOfWLine(const Handle(IntPatch_WLine)& theWLine,
   aNbListOfPointIndex=aListOfPointIndex.Extent();
   if(aNbListOfPointIndex) {
     nblines++;
-    anArrayOfLines[nblines] = aListOfPointIndex;
+    anArrayOfLines[nblines].Assign (aListOfPointIndex);
     anArrayOfLineType[nblines] = bIsPrevPointOnBoundary;
     aListOfPointIndex.Clear();
   }