]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
IPAL8742. Remove dependency of SALOMEDSImpl
authoreap <eap@opencascade.com>
Wed, 11 May 2005 05:24:08 +0000 (05:24 +0000)
committereap <eap@opencascade.com>
Wed, 11 May 2005 05:24:08 +0000 (05:24 +0000)
src/GEOM_I/GEOM_DumpPython.cc

index 171727203a2783004a25025ddeb9074bcd78622c..0b714de688318cf5c391f69c039bcfabbce40556 100644 (file)
@@ -5,7 +5,6 @@ using namespace std;
 #include <TCollection_ExtendedString.hxx>
 #include <TColStd_HSequenceOfAsciiString.hxx>
 #include <Resource_DataMapOfAsciiStringAsciiString.hxx>
-#include "SALOMEDSImpl_Study.hxx"
 
 //=======================================================================
 //function : DumpPython
@@ -42,8 +41,9 @@ Engines::TMPFile* GEOM_Gen_i::DumpPython(CORBA::Object_ptr theStudy,
   }
 
   TCollection_AsciiString aScript =
-    SALOMEDSImpl_Study::GetDumpStudyComment("GEOM") + "\n\n" +
-      _impl->DumpPython(aStudy->StudyId(), aMap, isPublished, isValidScript);
+    "### This file is generated by SALOME automatically by dump python funcitonality\n"
+      "### of GEOM component\n\n";
+  aScript += _impl->DumpPython(aStudy->StudyId(), aMap, isPublished, isValidScript);
 
   int aLen = aScript.Length(); 
   unsigned char* aBuffer = new unsigned char[aLen+1];