Fix error in FreeEdges_i::GetBorders(). See bug 11894, description item 6.

This commit is contained in:
jfa 2006-03-20 09:03:14 +00:00
parent e55d3a081b
commit 55c24afc42

View File

@ -1086,7 +1086,8 @@ SMESH::FreeEdges::Borders* FreeEdges_i::GetBorders()
long i = 0, iEnd = aBorders.size();
SMESH::FreeEdges::Borders_var aResult = new SMESH::FreeEdges::Borders(iEnd);
SMESH::FreeEdges::Borders_var aResult = new SMESH::FreeEdges::Borders;
aResult->length(iEnd);
SMESH::Controls::FreeEdges::TBorders::const_iterator anIter;
for ( anIter = aBorders.begin() ; anIter != aBorders.end(); anIter++, i++ )