Salome HOME
Copyright update 2021
[samples/sierpinsky.git] / src / Sierpinsky / SIERPINSKY_Gen_i.cxx
old mode 100755 (executable)
new mode 100644 (file)
index 3d25dff..3a768d3
@@ -1,4 +1,4 @@
-// Copyright (C) 2005-2014  OPEN CASCADE
+// Copyright (C) 2005-2021  OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -169,7 +169,7 @@ CORBA::Boolean SIERPINSKY_Gen_i::ExportToMED( const char* theFileName, CORBA::Do
   }
   
   // create MED 2.2 file
-  MED::PWrapper aMed = MED::CrWrapper( theFileName, MED::eV2_2 );
+  MED::PWrapper aMed = MED::CrWrapperW( theFileName );
 
   // create 2D mesh
   MED::PMeshInfo aMesh = aMed->CrMeshInfo( 2, 2, "Sierpinsky" );