X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FACISPlugin_ImportDriver.cxx;fp=src%2FACISPlugin_ImportDriver.cxx;h=c45431ce6eee72d5eeed8c934644e3eaea2ac8e5;hb=ab64994fbf346c38f997b8dc859097b27c3912b8;hp=21262fca08fadd856b5f3c0b43cedb6d2a19cc24;hpb=b43a24a77bd97569e98eaf4dd8a8ce3e00aceb0e;p=plugins%2Facisplugin.git diff --git a/src/ACISPlugin_ImportDriver.cxx b/src/ACISPlugin_ImportDriver.cxx index 21262fc..c45431c 100644 --- a/src/ACISPlugin_ImportDriver.cxx +++ b/src/ACISPlugin_ImportDriver.cxx @@ -29,7 +29,7 @@ #include #include -// OOCT includes +// OCCT includes #include #include #include @@ -78,7 +78,7 @@ ACISPlugin_ImportDriver::ACISPlugin_ImportDriver() //function : Execute //purpose : //======================================================================= -Standard_Integer ACISPlugin_ImportDriver::Execute( LOGBOOK& log ) const +Standard_Integer ACISPlugin_ImportDriver::Execute( Handle(TFunction_Logbook)& log ) const { if( Label().IsNull() ) return 0; Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction( Label() ); @@ -161,11 +161,7 @@ Standard_Integer ACISPlugin_ImportDriver::Execute( LOGBOOK& log ) const aFunction->SetValue( aResShape ); -#if OCC_VERSION_MAJOR < 7 - log.SetTouched(Label()); -#else log->SetTouched(Label()); -#endif return 1; } @@ -198,4 +194,4 @@ GetCreationInformation( std::string& theOperationName, return true; } -OCCT_IMPLEMENT_STANDARD_RTTIEXT( ACISPlugin_ImportDriver, GEOM_BaseDriver ); +IMPLEMENT_STANDARD_RTTIEXT( ACISPlugin_ImportDriver, GEOM_BaseDriver );