Salome HOME
Updated copyright comment
[modules/geom.git] / src / VTKPlugin / VTKPlugin_IECallBack.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 25f1658..ac14ce9
@@ -1,4 +1,4 @@
-// Copyright (C) 2014  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2014-2024  CEA, EDF, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -45,12 +45,11 @@ VTKPlugin_IECallBack::~VTKPlugin_IECallBack()
  *  Export
  */
 //=============================================================================
-bool VTKPlugin_IECallBack::Export( int                            theDocId,
-                                  const Handle(GEOM_Object)      theOriginal,
-                                  const TCollection_AsciiString& theFileName,
-                                  const TCollection_AsciiString& theFormatName )
+bool VTKPlugin_IECallBack::Export( const Handle(GEOM_Object)      theOriginal,
+                                   const TCollection_AsciiString& theFileName,
+                                   const TCollection_AsciiString& /*theFormatName*/ )
 {
-  VTKPlugin_IOperations* aPluginOperations = VTKPlugin_OperationsCreator::get( GetEngine(), theDocId );
+  VTKPlugin_IOperations* aPluginOperations = VTKPlugin_OperationsCreator::get( GetEngine() );
   const double aDeflection = 0.001;
   aPluginOperations->ExportVTK( theOriginal, theFileName, aDeflection );
   return true;