From 5e37ea4dc8d4d34fa96d0a12af71933d39bee7ab Mon Sep 17 00:00:00 2001 From: jfa Date: Tue, 10 May 2005 11:32:08 +0000 Subject: [PATCH] Suppress dependency from SALOMEDSImpl --- src/SMESH_I/SMESH_DumpPython.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/SMESH_I/SMESH_DumpPython.cxx b/src/SMESH_I/SMESH_DumpPython.cxx index cf473648f..016e21639 100644 --- a/src/SMESH_I/SMESH_DumpPython.cxx +++ b/src/SMESH_I/SMESH_DumpPython.cxx @@ -7,7 +7,6 @@ #include "SMESH_PythonDump.hxx" #include "SMESH_Gen_i.hxx" #include "SMESH_Filter_i.hxx" -#include "SALOMEDSImpl_Study.hxx" #include #include @@ -312,9 +311,13 @@ Engines::TMPFile* SMESH_Gen_i::DumpPython (CORBA::Object_ptr theStudy, TCollection_AsciiString aSavedTrace (oldValue); // Add trace of API methods calls and replace study entries by names + //TCollection_AsciiString aScript = + // SALOMEDSImpl_Study::GetDumpStudyComment("SMESH") + "\n\n" + + // DumpPython_impl(aStudy->StudyId(), aMap, aMapNames, isPublished, isValidScript, aSavedTrace); TCollection_AsciiString aScript = - SALOMEDSImpl_Study::GetDumpStudyComment("SMESH") + "\n\n" + - DumpPython_impl(aStudy->StudyId(), aMap, aMapNames, isPublished, isValidScript, aSavedTrace); + "### This file is generated by SALOME automatically by dump python functionality of SMESH component\n\n"; + aScript += DumpPython_impl(aStudy->StudyId(), aMap, aMapNames, + isPublished, isValidScript, aSavedTrace); int aLen = aScript.Length(); unsigned char* aBuffer = new unsigned char[aLen+1]; -- 2.39.2