Salome HOME
Clean-up deprecated OCCT-related code
[modules/hexablock.git] / src / HEXABLOCKGUI / HEXABLOCKGUI_SalomeTools.cxx
index a05e5dab184e1b1eaf833c1b0a0b6f6beeb32562..2fed0c5e7d3f62bf475189e60ae161532a48ad90 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2009-2015  CEA/DEN, EDF R&D
+// Copyright (C) 2009-2016  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -28,8 +28,6 @@
 #include <vtkActorCollection.h>
 #include <vtkUnstructuredGrid.h>
 
-#include <Basics_OCCTVersion.hxx>
-
 #include <SUIT_Session.h>
 
 #include <SalomeApp_Study.h>
@@ -175,14 +173,10 @@ namespace GUI
                        Handle(SelectMgr_Selection) sel = theObj->Selection( m );
 
                        for ( sel->Init(); sel->More(); sel->Next() ) {
-#if OCC_VERSION_LARGE > 0x06080100
                                 const Handle(SelectMgr_SensitiveEntity) aHSenEntity = sel->Sensitive();
                                 if ( aHSenEntity.IsNull() )
                                         continue;
                                 Handle(SelectBasics_SensitiveEntity) entity = aHSenEntity->BaseSensitive();
-#else
-                               Handle(SelectBasics_SensitiveEntity) entity = sel->Sensitive();
-#endif
                                if ( entity.IsNull() )
                                        continue;