X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOMImpl%2FGEOMImpl_3DSketcherDriver.cxx;fp=src%2FGEOMImpl%2FGEOMImpl_3DSketcherDriver.cxx;h=ac6a53b2a7a054ff44532e7932fc8f36c6d6011d;hb=47e260a9746423b69d6f29e941c845d851da64c7;hp=cf8e5fe24bc5b238c60e61ca7e52cc9331bf9b6e;hpb=7a3c2d25cc85b5c75acf2c8df92e4373af480d42;p=modules%2Fgeom.git diff --git a/src/GEOMImpl/GEOMImpl_3DSketcherDriver.cxx b/src/GEOMImpl/GEOMImpl_3DSketcherDriver.cxx index cf8e5fe24..ac6a53b2a 100755 --- a/src/GEOMImpl/GEOMImpl_3DSketcherDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_3DSketcherDriver.cxx @@ -65,7 +65,7 @@ GEOMImpl_3DSketcherDriver::GEOMImpl_3DSketcherDriver() //function : Execute //purpose : //======================================================================= -Standard_Integer GEOMImpl_3DSketcherDriver::Execute(LOGBOOK& log) const +Standard_Integer GEOMImpl_3DSketcherDriver::Execute(Handle(TFunction_Logbook)& log) const { if (Label().IsNull()) return 0; Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label()); @@ -319,11 +319,7 @@ Standard_Integer GEOMImpl_3DSketcherDriver::Execute(LOGBOOK& log) const if (aShape.IsNull()) return 0; aFunction->SetValue(aShape); -#if OCC_VERSION_MAJOR < 7 - log.SetTouched(Label()); -#else log->SetTouched(Label()); -#endif return 1; } @@ -369,4 +365,4 @@ GetCreationInformation(std::string& theOperationName, return true; } -OCCT_IMPLEMENT_STANDARD_RTTIEXT(GEOMImpl_3DSketcherDriver,GEOM_BaseDriver); +IMPLEMENT_STANDARD_RTTIEXT(GEOMImpl_3DSketcherDriver,GEOM_BaseDriver);