Salome HOME
Update copyrights
[samples/sierpinsky.git] / src / Sierpinsky / SIERPINSKY_Gen_i.cxx
index 9f17ee48554967c37ed3171322ed738e4c6de5ce..76c7c6e8acce53b1b4edc8449a6f71ecac2a2474 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2005-2015  OPEN CASCADE
+// Copyright (C) 2005-2019  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" );