X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FShHealOper%2FShHealOper_FillHoles.cxx;fp=src%2FShHealOper%2FShHealOper_FillHoles.cxx;h=dac0c895e2566939bd7812cef1f68bc930ce6e6f;hb=1405980f7eb1ae349f5fdc23d2627ff25d2f2685;hp=6f026e8500e9dc1ab2a581bf917e662113d76193;hpb=ea9614aed99d173a87bd555ac9e1ccde34e28073;p=modules%2Fgeom.git diff --git a/src/ShHealOper/ShHealOper_FillHoles.cxx b/src/ShHealOper/ShHealOper_FillHoles.cxx index 6f026e850..dac0c895e 100644 --- a/src/ShHealOper/ShHealOper_FillHoles.cxx +++ b/src/ShHealOper/ShHealOper_FillHoles.cxx @@ -230,7 +230,7 @@ Standard_Boolean ShHealOper_FillHoles::prepareWires(const TopTools_SequenceOfSha if (!BRep_Tool::Degenerated (TopoDS::Edge (aExp.Current()))) if(myEdgeFaces.Contains(aExp.Current()) && myEdgeFaces.FindFromKey(aExp.Current()).Extent() >1) continue; - aSeqEdges->Append(aExp.Current()); + aSeqEdges->Append(aExp.Current()); // to do: mustn't this clause be within if(!BRep_Tool::Degenerated...)? } } @@ -319,7 +319,7 @@ Handle(Geom_Surface) ShHealOper_FillHoles::buildSurface(const TopoDS_Wire& theWi theSenses = aBuilder.Sense(); } - catch (Standard_Failure) { + catch (Standard_Failure&) { aSurf.Nullify(); return aSurf; }