CORBA::Boolean isPublished,
CORBA::Boolean& isValidScript)
{
+/*ASL: temporary commented for Notebook
SALOMEDS::Study_var aStudy = SALOMEDS::Study::_narrow(theStudy);
if(CORBA::is_nil(aStudy))
return new Engines::TMPFile(0);
}
aScript += "\n\tpass\n";
-
- int aLen = aScript.Length();
+*/
+ int aLen = 0;/*ASL: aScript.Length(); */
unsigned char* aBuffer = new unsigned char[aLen+1];
- strcpy((char*)aBuffer, aScript.ToCString());
+ //ASL : strcpy((char*)aBuffer, aScript.ToCString());
CORBA::Octet* anOctetBuf = (CORBA::Octet*)aBuffer;
Engines::TMPFile_var aStreamFile = new Engines::TMPFile(aLen+1, aLen+1, anOctetBuf, 1);