Salome HOME
0023450: Fields are not displayed in GEOM
[modules/geom.git] / src / GEOM / GEOM_Solver.cxx
index 2e6475362eb7560f97cf761c4f84aa4de4230c74..d8e07e7148f6bbbe944074b94a6737cbe7260744 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;