From: mnt Date: Mon, 21 Mar 2016 10:22:37 +0000 (+0300) Subject: OCCT 7.0 compatibility X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c978009003909f8af73467666cf91ac1816cd0db;p=modules%2Fgeom.git OCCT 7.0 compatibility --- diff --git a/src/EntityGUI/EntityGUI_3DSketcherDlg.cxx b/src/EntityGUI/EntityGUI_3DSketcherDlg.cxx index 1cb9e9223..24a2c3fb1 100755 --- a/src/EntityGUI/EntityGUI_3DSketcherDlg.cxx +++ b/src/EntityGUI/EntityGUI_3DSketcherDlg.cxx @@ -1534,7 +1534,7 @@ void EntityGUI_3DSketcherDlg::displayAngle (double theAngle, P0, P1, P2); - if (anAngleIO == NULL) + if (anAngleIO.IsNull()) return; if (store) diff --git a/src/GEOM/GEOM_Solver.cxx b/src/GEOM/GEOM_Solver.cxx index e2c8aac8f..70906c4da 100644 --- a/src/GEOM/GEOM_Solver.cxx +++ b/src/GEOM/GEOM_Solver.cxx @@ -56,7 +56,7 @@ bool GEOM_Solver::UpdateObject(Handle(GEOM_Object) theObject, TDF_LabelSequence& //============================================================================= bool GEOM_Solver::ComputeFunction(Handle(GEOM_Function) theFunction) { - if(theFunction == NULL) return false; + if(theFunction.IsNull()) return false; Standard_GUID aGUID = theFunction->GetDriverGUID(); Handle(TFunction_Driver) aDriver;