Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge C++ part of kleontev/38044_auto_repair
[modules/geom.git]
/
src
/
GEOM
/
GEOM_SubShapeDriver.cxx
diff --git
a/src/GEOM/GEOM_SubShapeDriver.cxx
b/src/GEOM/GEOM_SubShapeDriver.cxx
index 20b619239f1346cf8b0931916b9b9e4bd55b516b..54cd4284a74cb2ee0f2a98fdc2cd109934dec24b 100644
(file)
--- a/
src/GEOM/GEOM_SubShapeDriver.cxx
+++ b/
src/GEOM/GEOM_SubShapeDriver.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
13 CEA/DEN, EDF R&D
, OPEN CASCADE
+// Copyright (C) 2007-20
24 CEA, EDF
, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-6,7
+6,7
@@
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License
, or (at your option) any later version
.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
@@
-48,7
+48,7
@@
GEOM_SubShapeDriver::GEOM_SubShapeDriver()
//function : Execute
//purpose :
//=======================================================================
//function : Execute
//purpose :
//=======================================================================
-Standard_Integer GEOM_SubShapeDriver::Execute(
TFunction_Logbook
& log) const
+Standard_Integer GEOM_SubShapeDriver::Execute(
Handle(TFunction_Logbook)
& log) const
{
if (Label().IsNull()) return 0;
Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
{
if (Label().IsNull()) return 0;
Handle(GEOM_Function) aFunction = GEOM_Function::GetFunction(Label());
@@
-101,8
+101,7
@@
Standard_Integer GEOM_SubShapeDriver::Execute(TFunction_Logbook& log) const
if (aShape.IsNull()) return 0;
aFunction->SetValue(aShape);
if (aShape.IsNull()) return 0;
aFunction->SetValue(aShape);
-
- log.SetTouched(Label());
+ log->SetTouched(Label());
return 1;
}
return 1;
}
@@
-155,6
+154,5
@@
GetCreationInformation(std::string& theOperationName,
return true;
}
return true;
}
-IMPLEMENT_STANDARD_HANDLE (GEOM_SubShapeDriver,GEOM_BaseDriver);
-IMPLEMENT_STANDARD_RTTIEXT (GEOM_SubShapeDriver,GEOM_BaseDriver)
;
+IMPLEMENT_STANDARD_RTTIEXT (GEOM_SubShapeDriver,GEOM_BaseDriver)