From: eap Date: Wed, 11 May 2005 05:24:08 +0000 (+0000) Subject: IPAL8742. Remove dependency of SALOMEDSImpl X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c1543b252a89370f44e7712464cb0c84aa7da45b;p=modules%2Fgeom.git IPAL8742. Remove dependency of SALOMEDSImpl --- diff --git a/src/GEOM_I/GEOM_DumpPython.cc b/src/GEOM_I/GEOM_DumpPython.cc index 171727203..0b714de68 100644 --- a/src/GEOM_I/GEOM_DumpPython.cc +++ b/src/GEOM_I/GEOM_DumpPython.cc @@ -5,7 +5,6 @@ using namespace std; #include #include #include -#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];