Salome HOME
Merge master branch into V9_dev.
[modules/geom.git] / src / GEOM / GEOM_Solver.cxx
index 5d6d5b212889cc2d30b0709bfb38c94e916dbada..6d3eb65a463a7e2aa025e0d253224aa015819135 100644 (file)
@@ -64,11 +64,7 @@ bool GEOM_Solver::ComputeFunction(Handle(GEOM_Function) theFunction)
           
   aDriver->Init(theFunction->GetEntry());
 
-#if OCC_VERSION_MAJOR < 7
-  TFunction_Logbook aLog;
-#else
   Handle(TFunction_Logbook) aLog = TFunction_Logbook::Set( aDriver->Label() );
-#endif
   if(aDriver->Execute(aLog) == 0) return false;
                 
   return true;