X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FVTKPlugin%2FVTKPlugin_IECallBack.cxx;h=ac14ce9773444c1715ca04e15c380d2bbfd08722;hb=e067674b75266d9f67a2c474d8dc901d9f65fe48;hp=25f1658f4d3cc41a1a2055d107ca479b0f520344;hpb=aeddae77192d933be1aee8855d8f7c525878cad9;p=modules%2Fgeom.git diff --git a/src/VTKPlugin/VTKPlugin_IECallBack.cxx b/src/VTKPlugin/VTKPlugin_IECallBack.cxx old mode 100755 new mode 100644 index 25f1658f4..ac14ce977 --- a/src/VTKPlugin/VTKPlugin_IECallBack.cxx +++ b/src/VTKPlugin/VTKPlugin_IECallBack.cxx @@ -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;