0031668: Visualization - WebGL sample doesn't work on Emscripten 1.39
[occt.git] / src / RWHeaderSection / RWHeaderSection_RWFileName.cxx
index 3bb2f6a..fadec7e 100644 (file)
@@ -2,8 +2,8 @@
 //
 // This file is part of Open CASCADE Technology software library.
 //
-// This library is free software; you can redistribute it and / or modify it
-// under the terms of the GNU Lesser General Public version 2.1 as published
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
 // by the Free Software Foundation, with special exception defined in the file
 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
 // distribution for complete text of the license and disclaimer of any warranty.
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-#include <RWHeaderSection_RWFileName.ixx>
-#include <Interface_HArray1OfHAsciiString.hxx>
 
+#include <HeaderSection_FileName.hxx>
+#include <Interface_Check.hxx>
+#include <Interface_HArray1OfHAsciiString.hxx>
+#include <RWHeaderSection_RWFileName.hxx>
+#include <StepData_StepReaderData.hxx>
+#include <StepData_StepWriter.hxx>
 
 RWHeaderSection_RWFileName::RWHeaderSection_RWFileName () {}
 
@@ -32,14 +36,12 @@ void RWHeaderSection_RWFileName::ReadStep
        // --- own field : name ---
 
        Handle(TCollection_HAsciiString) aName;
-       Standard_Boolean stat1;
-       stat1 = data->ReadString (num,1,"name",ach,aName);
+       data->ReadString (num,1,"name",ach,aName);
 
        // --- own field : timeStamp ---
 
        Handle(TCollection_HAsciiString) aTimeStamp;
-       Standard_Boolean stat2;
-       stat2 = data->ReadString (num,2,"time_stamp",ach,aTimeStamp);
+       data->ReadString (num,2,"time_stamp",ach,aTimeStamp);
 
        // --- own field : author ---
 
@@ -82,20 +84,17 @@ void RWHeaderSection_RWFileName::ReadStep
        // --- own field : preprocessorVersion ---
 
        Handle(TCollection_HAsciiString) aPreprocessorVersion;
-       Standard_Boolean stat5;
-       stat5 = data->ReadString (num,5,"preprocessor_version",ach,aPreprocessorVersion);
+       data->ReadString (num,5,"preprocessor_version",ach,aPreprocessorVersion);
 
        // --- own field : originatingSystem ---
 
        Handle(TCollection_HAsciiString) aOriginatingSystem;
-       Standard_Boolean stat6;
-       stat6 = data->ReadString (num,6,"originating_system",ach,aOriginatingSystem);
+       data->ReadString (num,6,"originating_system",ach,aOriginatingSystem);
 
        // --- own field : authorisation ---
 
        Handle(TCollection_HAsciiString) aAuthorisation;
-       Standard_Boolean stat7;
-       stat7 = data->ReadString (num,7,"authorisation",ach,aAuthorisation);
+       data->ReadString (num,7,"authorisation",ach,aAuthorisation);
 
        //--- Initialisation of the read entity ---