1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0025765: Coding rules - clean up code from obsolete macro checks

Unused code paths (including definition of these macros and meaningless comments) were eliminated.
This commit is contained in:
apn
2015-02-24 19:27:20 +03:00
committed by bugmaster
parent f1b0b4f9c6
commit d2094e110f
130 changed files with 11 additions and 1775 deletions

View File

@@ -30,8 +30,6 @@
#include <Geom_Plane.hxx>
#include <GeomLib_IsPlanarSurface.hxx>
#define OCC2932
//=======================================================================
//function : GetID
//purpose :
@@ -70,7 +68,6 @@ Handle(TDataXtd_Plane) TDataXtd_Plane::Set (const TDF_Label& L, const gp_Pln& P)
{
Handle(TDataXtd_Plane) A = Set (L);
#ifdef OCC2932
Handle(TNaming_NamedShape) aNS;
if(L.FindAttribute(TNaming_NamedShape::GetID(), aNS)) {
if(!aNS->Get().IsNull())
@@ -94,7 +91,6 @@ Handle(TDataXtd_Plane) TDataXtd_Plane::Set (const TDF_Label& L, const gp_Pln& P)
}
}
}
#endif
TNaming_Builder B(L);
B.Generated(BRepBuilderAPI_MakeFace(P));