From 338eab651c07fba8e4ba62fdcbda795b36fcb0e9 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 18 Dec 2012 12:57:39 +0000 Subject: [PATCH] - TCollection_AsciiString oldScript (oldValue.out()); + TCollection_AsciiString oldScript (oldValue.in()); --- src/SMESH_I/SMESH_DumpPython.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SMESH_I/SMESH_DumpPython.cxx b/src/SMESH_I/SMESH_DumpPython.cxx index 8b44c6b3e..33ca4c7ba 100644 --- a/src/SMESH_I/SMESH_DumpPython.cxx +++ b/src/SMESH_I/SMESH_DumpPython.cxx @@ -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"; -- 2.39.2