Salome HOME
Various minor fixes
[plugins/acisplugin.git] / src / ACISPlugin_ExportDriver.cxx
index 57807a756a2ed3a9dff5833d8a6ac6c3dffb5730..5ce24209079c8b8b3236dcf0c2f18cce3fa9f2d0 100644 (file)
@@ -33,6 +33,7 @@
 #include <SatControl_Writer.hxx>
 #include <TCollection_AsciiString.hxx>
 #include <TopoDS_Shape.hxx>
+#include <Standard_Version.hxx>
 
 #ifdef ACIS_HASLICENSE
 #include "ACISPlugin_license.h"
@@ -70,7 +71,7 @@ Standard_Integer ACISPlugin_ExportDriver::Execute( TFunction_Logbook& log ) cons
       OCCLicense_Activate("SAT-W-"OCC_VERSION_STRING, ACIS_WRITE_LICENSE);
     }
     catch (Standard_LicenseError) {
-      return 1;
+      return 0;
     }
 #endif // ACIS_HASLICENSE