diff --git a/src/GC/GC_MakeArcOfCircle.cxx b/src/GC/GC_MakeArcOfCircle.cxx index 9b88a58093..41d22e2f75 100644 --- a/src/GC/GC_MakeArcOfCircle.cxx +++ b/src/GC/GC_MakeArcOfCircle.cxx @@ -158,7 +158,7 @@ GC_MakeArcOfCircle::GC_MakeArcOfCircle(const gp_Circ& Circ , //======================================================================= const Handle(Geom_TrimmedCurve)& GC_MakeArcOfCircle::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheArc; } //======================================================================= diff --git a/src/GC/GC_MakeArcOfEllipse.cxx b/src/GC/GC_MakeArcOfEllipse.cxx index c6b39d46c8..fc859d838c 100644 --- a/src/GC/GC_MakeArcOfEllipse.cxx +++ b/src/GC/GC_MakeArcOfEllipse.cxx @@ -54,7 +54,7 @@ GC_MakeArcOfEllipse::GC_MakeArcOfEllipse(const gp_Elips& Elips , const Handle(Geom_TrimmedCurve)& GC_MakeArcOfEllipse::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheArc; } diff --git a/src/GC/GC_MakeArcOfHyperbola.cxx b/src/GC/GC_MakeArcOfHyperbola.cxx index ed95e3f6e7..26bf6454e2 100644 --- a/src/GC/GC_MakeArcOfHyperbola.cxx +++ b/src/GC/GC_MakeArcOfHyperbola.cxx @@ -55,7 +55,7 @@ GC_MakeArcOfHyperbola::GC_MakeArcOfHyperbola(const gp_Hypr& Hypr , const Handle(Geom_TrimmedCurve)& GC_MakeArcOfHyperbola::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheArc; } diff --git a/src/GC/GC_MakeArcOfParabola.cxx b/src/GC/GC_MakeArcOfParabola.cxx index 69c5c31d16..acb1d0059a 100644 --- a/src/GC/GC_MakeArcOfParabola.cxx +++ b/src/GC/GC_MakeArcOfParabola.cxx @@ -54,7 +54,7 @@ GC_MakeArcOfParabola::GC_MakeArcOfParabola(const gp_Parab& Parab , const Handle(Geom_TrimmedCurve)& GC_MakeArcOfParabola::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheArc; } diff --git a/src/GC/GC_MakeCircle.cxx b/src/GC/GC_MakeCircle.cxx index 3aa1e451bb..3caac6715f 100644 --- a/src/GC/GC_MakeCircle.cxx +++ b/src/GC/GC_MakeCircle.cxx @@ -97,7 +97,7 @@ GC_MakeCircle::GC_MakeCircle(const gp_Ax1& Axis , const Handle(Geom_Circle)& GC_MakeCircle::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheCircle; } diff --git a/src/GC/GC_MakeConicalSurface.cxx b/src/GC/GC_MakeConicalSurface.cxx index 357baca627..aa8546c4bc 100644 --- a/src/GC/GC_MakeConicalSurface.cxx +++ b/src/GC/GC_MakeConicalSurface.cxx @@ -105,7 +105,7 @@ GC_MakeConicalSurface::GC_MakeConicalSurface(const gp_Pnt& P1 , const Handle(Geom_ConicalSurface)& GC_MakeConicalSurface::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheCone; } diff --git a/src/GC/GC_MakeCylindricalSurface.cxx b/src/GC/GC_MakeCylindricalSurface.cxx index 39983c6382..9d8a9a6177 100644 --- a/src/GC/GC_MakeCylindricalSurface.cxx +++ b/src/GC/GC_MakeCylindricalSurface.cxx @@ -98,7 +98,7 @@ GC_MakeCylindricalSurface::GC_MakeCylindricalSurface(const gp_Cylinder& Cyl , const Handle(Geom_CylindricalSurface)& GC_MakeCylindricalSurface::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheCylinder; } diff --git a/src/GC/GC_MakeEllipse.cxx b/src/GC/GC_MakeEllipse.cxx index 637d2af0d5..9e61d842b9 100644 --- a/src/GC/GC_MakeEllipse.cxx +++ b/src/GC/GC_MakeEllipse.cxx @@ -48,7 +48,7 @@ GC_MakeEllipse::GC_MakeEllipse(const gp_Pnt& S1 , const Handle(Geom_Ellipse)& GC_MakeEllipse::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheEllipse; } diff --git a/src/GC/GC_MakeHyperbola.cxx b/src/GC/GC_MakeHyperbola.cxx index 5821767ae2..d9cb1999e3 100644 --- a/src/GC/GC_MakeHyperbola.cxx +++ b/src/GC/GC_MakeHyperbola.cxx @@ -47,7 +47,7 @@ GC_MakeHyperbola::GC_MakeHyperbola(const gp_Pnt& S1 , const Handle(Geom_Hyperbola)& GC_MakeHyperbola::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheHyperbola; } diff --git a/src/GC/GC_MakeLine.cxx b/src/GC/GC_MakeLine.cxx index cfa48eb2c6..617f291fea 100644 --- a/src/GC/GC_MakeLine.cxx +++ b/src/GC/GC_MakeLine.cxx @@ -63,7 +63,7 @@ GC_MakeLine::GC_MakeLine(const gp_Lin& Lin , const Handle(Geom_Line)& GC_MakeLine::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheLine; } diff --git a/src/GC/GC_MakePlane.cxx b/src/GC/GC_MakePlane.cxx index f98d3391f7..88232f5a84 100644 --- a/src/GC/GC_MakePlane.cxx +++ b/src/GC/GC_MakePlane.cxx @@ -119,7 +119,7 @@ GC_MakePlane::GC_MakePlane(const gp_Ax1& Axis ) { const Handle(Geom_Plane)& GC_MakePlane::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return ThePlane; } diff --git a/src/GC/GC_MakeSegment.cxx b/src/GC/GC_MakeSegment.cxx index 13e6eaca46..35589b637b 100644 --- a/src/GC/GC_MakeSegment.cxx +++ b/src/GC/GC_MakeSegment.cxx @@ -61,7 +61,7 @@ GC_MakeSegment::GC_MakeSegment(const gp_Lin& Line , const Handle(Geom_TrimmedCurve)& GC_MakeSegment::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheSegment; } diff --git a/src/GC/GC_MakeTrimmedCone.cxx b/src/GC/GC_MakeTrimmedCone.cxx index e708d6e22a..a4beefe72d 100644 --- a/src/GC/GC_MakeTrimmedCone.cxx +++ b/src/GC/GC_MakeTrimmedCone.cxx @@ -73,7 +73,7 @@ GC_MakeTrimmedCone::GC_MakeTrimmedCone(const gp_Pnt& P1 , const Handle(Geom_RectangularTrimmedSurface)& GC_MakeTrimmedCone:: Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheCone; } diff --git a/src/GC/GC_MakeTrimmedCylinder.cxx b/src/GC/GC_MakeTrimmedCylinder.cxx index 269df86f79..2aac425b11 100644 --- a/src/GC/GC_MakeTrimmedCylinder.cxx +++ b/src/GC/GC_MakeTrimmedCylinder.cxx @@ -82,7 +82,7 @@ GC_MakeTrimmedCylinder::GC_MakeTrimmedCylinder(const gp_Cylinder& , // Cyl, const Handle(Geom_RectangularTrimmedSurface)& GC_MakeTrimmedCylinder:: Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheCyl; } diff --git a/src/GCE2d/GCE2d_MakeArcOfCircle.cxx b/src/GCE2d/GCE2d_MakeArcOfCircle.cxx index 4f1da0bcda..0988646caa 100644 --- a/src/GCE2d/GCE2d_MakeArcOfCircle.cxx +++ b/src/GCE2d/GCE2d_MakeArcOfCircle.cxx @@ -111,7 +111,7 @@ GCE2d_MakeArcOfCircle::GCE2d_MakeArcOfCircle(const gp_Circ2d& Circ , const Handle(Geom2d_TrimmedCurve)& GCE2d_MakeArcOfCircle::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheArc; } diff --git a/src/GCE2d/GCE2d_MakeArcOfEllipse.cxx b/src/GCE2d/GCE2d_MakeArcOfEllipse.cxx index 1bb9acf7a1..07fbd2fcfc 100644 --- a/src/GCE2d/GCE2d_MakeArcOfEllipse.cxx +++ b/src/GCE2d/GCE2d_MakeArcOfEllipse.cxx @@ -54,7 +54,7 @@ GCE2d_MakeArcOfEllipse::GCE2d_MakeArcOfEllipse(const gp_Elips2d& Elips , const Handle(Geom2d_TrimmedCurve)& GCE2d_MakeArcOfEllipse::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheArc; } diff --git a/src/GCE2d/GCE2d_MakeArcOfHyperbola.cxx b/src/GCE2d/GCE2d_MakeArcOfHyperbola.cxx index 668185d12d..d981da8a58 100644 --- a/src/GCE2d/GCE2d_MakeArcOfHyperbola.cxx +++ b/src/GCE2d/GCE2d_MakeArcOfHyperbola.cxx @@ -56,7 +56,7 @@ GCE2d_MakeArcOfHyperbola:: const Handle(Geom2d_TrimmedCurve)& GCE2d_MakeArcOfHyperbola::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheArc; } diff --git a/src/GCE2d/GCE2d_MakeArcOfParabola.cxx b/src/GCE2d/GCE2d_MakeArcOfParabola.cxx index 47c9048eca..613e6e2503 100644 --- a/src/GCE2d/GCE2d_MakeArcOfParabola.cxx +++ b/src/GCE2d/GCE2d_MakeArcOfParabola.cxx @@ -55,7 +55,7 @@ GCE2d_MakeArcOfParabola:: const Handle(Geom2d_TrimmedCurve)& GCE2d_MakeArcOfParabola::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheArc; } diff --git a/src/GCE2d/GCE2d_MakeCircle.cxx b/src/GCE2d/GCE2d_MakeCircle.cxx index 1a08db836a..d8058e7041 100644 --- a/src/GCE2d/GCE2d_MakeCircle.cxx +++ b/src/GCE2d/GCE2d_MakeCircle.cxx @@ -100,7 +100,7 @@ GCE2d_MakeCircle::GCE2d_MakeCircle(const gp_Pnt2d& Center , const Handle(Geom2d_Circle)& GCE2d_MakeCircle::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheCircle; } diff --git a/src/GCE2d/GCE2d_MakeEllipse.cxx b/src/GCE2d/GCE2d_MakeEllipse.cxx index 962b01753a..4800102d74 100644 --- a/src/GCE2d/GCE2d_MakeEllipse.cxx +++ b/src/GCE2d/GCE2d_MakeEllipse.cxx @@ -59,7 +59,7 @@ GCE2d_MakeEllipse::GCE2d_MakeEllipse(const gp_Pnt2d& S1 , const Handle(Geom2d_Ellipse)& GCE2d_MakeEllipse::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheEllipse; } diff --git a/src/GCE2d/GCE2d_MakeHyperbola.cxx b/src/GCE2d/GCE2d_MakeHyperbola.cxx index 55a6ef230d..714edf30ee 100644 --- a/src/GCE2d/GCE2d_MakeHyperbola.cxx +++ b/src/GCE2d/GCE2d_MakeHyperbola.cxx @@ -59,7 +59,7 @@ GCE2d_MakeHyperbola::GCE2d_MakeHyperbola(const gp_Pnt2d& S1 , const Handle(Geom2d_Hyperbola)& GCE2d_MakeHyperbola::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheHyperbola; } diff --git a/src/GCE2d/GCE2d_MakeLine.cxx b/src/GCE2d/GCE2d_MakeLine.cxx index 043b8b9e51..a3122da17e 100644 --- a/src/GCE2d/GCE2d_MakeLine.cxx +++ b/src/GCE2d/GCE2d_MakeLine.cxx @@ -73,7 +73,7 @@ GCE2d_MakeLine::GCE2d_MakeLine(const gp_Lin2d& Lin , const Handle(Geom2d_Line)& GCE2d_MakeLine::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheLine; } diff --git a/src/GCE2d/GCE2d_MakeParabola.cxx b/src/GCE2d/GCE2d_MakeParabola.cxx index 823459da54..381ee1f680 100644 --- a/src/GCE2d/GCE2d_MakeParabola.cxx +++ b/src/GCE2d/GCE2d_MakeParabola.cxx @@ -74,7 +74,7 @@ GCE2d_MakeParabola::GCE2d_MakeParabola(const gp_Pnt2d& S1 , const Handle(Geom2d_Parabola)& GCE2d_MakeParabola::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheParabola; } diff --git a/src/GCE2d/GCE2d_MakeSegment.cxx b/src/GCE2d/GCE2d_MakeSegment.cxx index 2d4fc0c5db..406017816b 100644 --- a/src/GCE2d/GCE2d_MakeSegment.cxx +++ b/src/GCE2d/GCE2d_MakeSegment.cxx @@ -77,7 +77,7 @@ GCE2d_MakeSegment::GCE2d_MakeSegment(const gp_Lin2d& Line , const Handle(Geom2d_TrimmedCurve)& GCE2d_MakeSegment::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheSegment; } diff --git a/src/gce/gce_MakeCirc.cxx b/src/gce/gce_MakeCirc.cxx index 063b21f85a..ffd34e4a89 100644 --- a/src/gce/gce_MakeCirc.cxx +++ b/src/gce/gce_MakeCirc.cxx @@ -338,7 +338,7 @@ gce_MakeCirc::gce_MakeCirc(const gp_Circ& Circ , //======================================================================= const gp_Circ& gce_MakeCirc::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheCirc; } //======================================================================= diff --git a/src/gce/gce_MakeCirc2d.cxx b/src/gce/gce_MakeCirc2d.cxx index 3c56740c34..a1bd93dfe6 100644 --- a/src/gce/gce_MakeCirc2d.cxx +++ b/src/gce/gce_MakeCirc2d.cxx @@ -202,7 +202,7 @@ gce_MakeCirc2d::gce_MakeCirc2d(const gp_Circ2d& Circ , const gp_Circ2d& gce_MakeCirc2d::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheCirc2d; } diff --git a/src/gce/gce_MakeCone.cxx b/src/gce/gce_MakeCone.cxx index 3d0bf9fb17..abc4fbe815 100644 --- a/src/gce/gce_MakeCone.cxx +++ b/src/gce/gce_MakeCone.cxx @@ -198,7 +198,7 @@ gce_MakeCone::gce_MakeCone(const gp_Pnt& P1 , const gp_Cone& gce_MakeCone::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheCone; } diff --git a/src/gce/gce_MakeCylinder.cxx b/src/gce/gce_MakeCylinder.cxx index d010b6ff77..379c96945c 100644 --- a/src/gce/gce_MakeCylinder.cxx +++ b/src/gce/gce_MakeCylinder.cxx @@ -126,7 +126,7 @@ gce_MakeCylinder::gce_MakeCylinder(const gp_Cylinder& Cyl , const gp_Cylinder& gce_MakeCylinder::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheCylinder; } diff --git a/src/gce/gce_MakeDir.cxx b/src/gce/gce_MakeDir.cxx index 607b5ef09d..8a36205fcb 100644 --- a/src/gce/gce_MakeDir.cxx +++ b/src/gce/gce_MakeDir.cxx @@ -63,7 +63,7 @@ gce_MakeDir::gce_MakeDir(const Standard_Real Xv, const gp_Dir& gce_MakeDir::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheDir; } diff --git a/src/gce/gce_MakeDir2d.cxx b/src/gce/gce_MakeDir2d.cxx index 92361789a5..107b7d356f 100644 --- a/src/gce/gce_MakeDir2d.cxx +++ b/src/gce/gce_MakeDir2d.cxx @@ -62,7 +62,7 @@ gce_MakeDir2d::gce_MakeDir2d(const Standard_Real Xv, const gp_Dir2d& gce_MakeDir2d::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheDir2d; } diff --git a/src/gce/gce_MakeElips.cxx b/src/gce/gce_MakeElips.cxx index c79f572a8a..9916e211dc 100644 --- a/src/gce/gce_MakeElips.cxx +++ b/src/gce/gce_MakeElips.cxx @@ -63,7 +63,7 @@ gce_MakeElips::gce_MakeElips(const gp_Pnt& S1 , const gp_Elips& gce_MakeElips::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheElips; } diff --git a/src/gce/gce_MakeElips2d.cxx b/src/gce/gce_MakeElips2d.cxx index 90a193b7ed..ebdeb58c9c 100644 --- a/src/gce/gce_MakeElips2d.cxx +++ b/src/gce/gce_MakeElips2d.cxx @@ -69,7 +69,7 @@ gce_MakeElips2d::gce_MakeElips2d(const gp_Ax22d& A , const gp_Elips2d& gce_MakeElips2d::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheElips2d; } diff --git a/src/gce/gce_MakeHypr.cxx b/src/gce/gce_MakeHypr.cxx index 75a860885f..c353741552 100644 --- a/src/gce/gce_MakeHypr.cxx +++ b/src/gce/gce_MakeHypr.cxx @@ -55,7 +55,7 @@ gce_MakeHypr::gce_MakeHypr(const gp_Ax2& A2 , const gp_Hypr& gce_MakeHypr::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheHypr; } diff --git a/src/gce/gce_MakeHypr2d.cxx b/src/gce/gce_MakeHypr2d.cxx index a89aa446bc..08595aa1b3 100644 --- a/src/gce/gce_MakeHypr2d.cxx +++ b/src/gce/gce_MakeHypr2d.cxx @@ -67,7 +67,7 @@ gce_MakeHypr2d::gce_MakeHypr2d(const gp_Ax22d& A , const gp_Hypr2d& gce_MakeHypr2d::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheHypr2d; } diff --git a/src/gce/gce_MakeLin.cxx b/src/gce/gce_MakeLin.cxx index 8c942daec2..59eabbd444 100644 --- a/src/gce/gce_MakeLin.cxx +++ b/src/gce/gce_MakeLin.cxx @@ -69,7 +69,7 @@ gce_MakeLin::gce_MakeLin(const gp_Lin& Lin , const gp_Lin& gce_MakeLin::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheLin; } diff --git a/src/gce/gce_MakeLin2d.cxx b/src/gce/gce_MakeLin2d.cxx index 6d002b15e0..892b0349f7 100644 --- a/src/gce/gce_MakeLin2d.cxx +++ b/src/gce/gce_MakeLin2d.cxx @@ -103,7 +103,7 @@ gce_MakeLin2d::gce_MakeLin2d(const gp_Lin2d& Line, gp_Lin2d gce_MakeLin2d::Value() const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheLin2d; } diff --git a/src/gce/gce_MakeParab.cxx b/src/gce/gce_MakeParab.cxx index b1bf0863e7..9c1481530d 100644 --- a/src/gce/gce_MakeParab.cxx +++ b/src/gce/gce_MakeParab.cxx @@ -37,7 +37,7 @@ gce_MakeParab::gce_MakeParab(const gp_Ax1& D , const gp_Parab& gce_MakeParab::Value () const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheParab; } diff --git a/src/gce/gce_MakeParab2d.cxx b/src/gce/gce_MakeParab2d.cxx index 93d6e5f0c3..61f586b543 100644 --- a/src/gce/gce_MakeParab2d.cxx +++ b/src/gce/gce_MakeParab2d.cxx @@ -75,7 +75,7 @@ gce_MakeParab2d::gce_MakeParab2d(const gp_Pnt2d& S , const gp_Parab2d& gce_MakeParab2d::Value () const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return TheParab2d; } diff --git a/src/gce/gce_MakePln.cxx b/src/gce/gce_MakePln.cxx index c002352b9a..8aeadab78f 100644 --- a/src/gce/gce_MakePln.cxx +++ b/src/gce/gce_MakePln.cxx @@ -124,7 +124,7 @@ gce_MakePln::gce_MakePln(const gp_Ax1& Axis ) */ const gp_Pln& gce_MakePln::Value () const { - StdFail_NotDone_Raise_if(!TheError == gce_Done,""); + StdFail_NotDone_Raise_if(TheError != gce_Done,""); return ThePln; }