]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
- TCollection_AsciiString oldScript (oldValue.out());
authoreap <eap@opencascade.com>
Tue, 18 Dec 2012 12:57:39 +0000 (12:57 +0000)
committereap <eap@opencascade.com>
Tue, 18 Dec 2012 12:57:39 +0000 (12:57 +0000)
+  TCollection_AsciiString oldScript (oldValue.in());

src/SMESH_I/SMESH_DumpPython.cxx

index 8b44c6b3e200ce40a67114162640112db99ba21d..33ca4c7ba1767ca51e87568aa8a4bedc63fdca29 100644 (file)
@@ -696,7 +696,7 @@ void SMESH_Gen_i::SavePython (SALOMEDS::Study_ptr theStudy)
   SALOMEDS::AttributePythonObject_var pyAttr =
     SALOMEDS::AttributePythonObject::_narrow(anAttr);
   CORBA::String_var oldValue = pyAttr->GetObject();
-  TCollection_AsciiString oldScript (oldValue.out());
+  TCollection_AsciiString oldScript (oldValue.in());
 
   if (oldScript.Length() > 0) {
     oldScript += "\n";