Salome HOME
0021803: EDF 2351 : Available versions of MED in TUI function ExportMED aren't consis...
[samples/sierpinsky.git] / src / Sierpinsky / SIERPINSKY_Gen_i.cxx
index 6d2192705f13b4e6078a3021a4eae578a5044864..3ddc8a8c291f41d2ce0b1ba47fab3bae66a5d84e 100644 (file)
@@ -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" );