From: dmv Date: Mon, 13 Sep 2010 14:19:11 +0000 (+0000) Subject: Removing difference with Linux V5_1_main X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bb11c37fe1de241d466d25da994e2a545a194a87;p=modules%2Fsmesh.git Removing difference with Linux V5_1_main --- diff --git a/src/SMESH_I/SMESH_Gen_i.cxx b/src/SMESH_I/SMESH_Gen_i.cxx index 197af25ad..6c1bfa193 100644 --- a/src/SMESH_I/SMESH_Gen_i.cxx +++ b/src/SMESH_I/SMESH_Gen_i.cxx @@ -3190,10 +3190,7 @@ SALOMEDS::TMPFile* SMESH_Gen_i::SaveASCII( SALOMEDS::SComponent_ptr theComponent bool isMultiFile ) { if(MYDEBUG) MESSAGE( "SMESH_Gen_i::SaveASCII" ); SALOMEDS::TMPFile_var aStreamFile = Save( theComponent, theURL, isMultiFile ); - - #ifndef WIN32 - return aStreamFile._retn(); - #endif + //return aStreamFile._retn(); //after usual saving needs to encipher binary to text string //Any binary symbol will be represent as "|xx" () hexadecimal format number @@ -4281,10 +4278,7 @@ bool SMESH_Gen_i::LoadASCII( SALOMEDS::SComponent_ptr theComponent, const char* theURL, bool isMultiFile ) { if(MYDEBUG) MESSAGE( "SMESH_Gen_i::LoadASCII" ); - - #ifndef WIN32 - return Load( theComponent, theStream, theURL, isMultiFile ); - #endif + //return Load( theComponent, theStream, theURL, isMultiFile ); //before call main ::Load method it's need for decipher text format to //binary ( "|xx" => x' )