]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
OCCT 7.0 compatibility
authormnt <mnt@opencascade.com>
Mon, 21 Mar 2016 10:22:37 +0000 (13:22 +0300)
committermnt <mnt@opencascade.com>
Mon, 21 Mar 2016 10:22:37 +0000 (13:22 +0300)
src/EntityGUI/EntityGUI_3DSketcherDlg.cxx
src/GEOM/GEOM_Solver.cxx

index 1cb9e9223233c48272d53e3fea227a72097ebac9..24a2c3fb1fc4199ab29f3e9caee83d8e05db60cf 100755 (executable)
@@ -1534,7 +1534,7 @@ void EntityGUI_3DSketcherDlg::displayAngle (double theAngle,
                                                                  P0, 
                                                                  P1, 
                                                                  P2);
-  if (anAngleIO == NULL)
+  if (anAngleIO.IsNull())
     return;
   
   if (store)
index e2c8aac8f16b4554c4a480624f5a88ccc224a7ae..70906c4dac87078d3865c4ebd69484df9a739d16 100644 (file)
@@ -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;