X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOMAlgo%2FGEOMAlgo_GluerAlgo.cxx;h=48a7db3f4764f0ff36f2f2e8ebd56c2b22184214;hb=2736f682fe0d63fbaf9dff49c46b4fa6c23d72ce;hp=257b9b6c9c5e000ae7b53eae135308a06072905d;hpb=7961b83044d771b15dbbe57ed71c20e67efec023;p=modules%2Fgeom.git diff --git a/src/GEOMAlgo/GEOMAlgo_GluerAlgo.cxx b/src/GEOMAlgo/GEOMAlgo_GluerAlgo.cxx index 257b9b6c9..48a7db3f4 100644 --- a/src/GEOMAlgo/GEOMAlgo_GluerAlgo.cxx +++ b/src/GEOMAlgo/GEOMAlgo_GluerAlgo.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -25,12 +25,7 @@ // // #include -#if OCC_VERSION_LARGE > 0x06070100 #include -#else -#include -#endif - //======================================================================= //function : GEOMAlgo_GluerAlgo @@ -101,11 +96,7 @@ Standard_Boolean GEOMAlgo_GluerAlgo::CheckGeometry() const //function : SetContext //purpose : //======================================================================= -#if OCC_VERSION_LARGE > 0x06070100 void GEOMAlgo_GluerAlgo::SetContext(const Handle(IntTools_Context)& theContext) -#else -void GEOMAlgo_GluerAlgo::SetContext(const Handle(BOPInt_Context)& theContext) -#endif { myContext=theContext; } @@ -113,11 +104,7 @@ void GEOMAlgo_GluerAlgo::SetContext(const Handle(BOPInt_Context)& theContext) //function : Context //purpose : //======================================================================= -#if OCC_VERSION_LARGE > 0x06070100 const Handle(IntTools_Context)& GEOMAlgo_GluerAlgo::Context() -#else -const Handle(BOPInt_Context)& GEOMAlgo_GluerAlgo::Context() -#endif { return myContext; } @@ -153,10 +140,6 @@ void GEOMAlgo_GluerAlgo::Clear() void GEOMAlgo_GluerAlgo::Perform() { if (myContext.IsNull()) { -#if OCC_VERSION_LARGE > 0x06070100 myContext=new IntTools_Context; -#else - myContext=new BOPInt_Context; -#endif } }