Salome HOME
Remove obsolete conditionals
[modules/geom.git] / src / STLPlugin / STLPlugin_IOperations.cxx
index f089fdc297b3fb5332d466af02c8f8bfed341677..512b9251b43aa8d9ba05e7dcd362129af258453e 100644 (file)
@@ -99,9 +99,7 @@ void STLPlugin_IOperations::ExportSTL( const Handle(GEOM_Object)      theOrigina
 
   //Perform the Export
   try {
-#if OCC_VERSION_LARGE > 0x06010000
     OCC_CATCH_SIGNALS;
-#endif
     if( !GetSolver()->ComputeFunction( aFunction ) ) {
       SetErrorCode( "Not enough space on disk, or you haven't permissions to write this directory" );
       return;
@@ -154,9 +152,7 @@ STLPlugin_IOperations::ImportSTL( const TCollection_AsciiString& theFileName )
   Handle(TColStd_HSequenceOfTransient) aSeq = new TColStd_HSequenceOfTransient;
 
   try {
-#if OCC_VERSION_LARGE > 0x06010000
     OCC_CATCH_SIGNALS;
-#endif
     if( !GetSolver()->ComputeFunction( aFunction ) ) {
       SetErrorCode( "Import driver failed" );
       return NULL;