Salome HOME
Some corrections of import/export operations
[plugins/acisplugin.git] / src / ACISPlugin_IOperations.cxx
index 051b085439ac5b68c705cbe5b6cdf31d6dad32ce..d107a03516a6cc54c9b29bde53a91d6d5d97b074 100644 (file)
@@ -60,12 +60,10 @@ ACISPlugin_IOperations::~ACISPlugin_IOperations()
  *  Export a shape to ACIS format
  *  \param theOriginal The shape to export
  *  \param theFileName The name of the file to exported
- *  \param theIsASCII The format of the exported file (ASCII or Binary)
- *  \param theDeflection The deflection of the shape to exported
  */
 //=============================================================================
 void ACISPlugin_IOperations::ExportACIS( const Handle(GEOM_Object)      theOriginal,
-                                                 const TCollection_AsciiString& theFileName )
+                                         const TCollection_AsciiString& theFileName )
 {
   SetErrorCode(KO);
   if( theOriginal.IsNull() ) return;
@@ -90,9 +88,7 @@ void ACISPlugin_IOperations::ExportACIS( const Handle(GEOM_Object)      theOrigi
 
   //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;
@@ -144,9 +140,7 @@ ACISPlugin_IOperations::ImportACIS( 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;