From c216728e2fce9b7f0210ceb3e1ac49cbcdbaa6b8 Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 22 Dec 2009 13:32:22 +0000 Subject: [PATCH] Debug --- src/Notebook/SALOME_Notebook.cxx | 2 +- src/Notebook/SALOME_ParameterizedObject.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Notebook/SALOME_Notebook.cxx b/src/Notebook/SALOME_Notebook.cxx index fa822181f..2c32e0eb2 100644 --- a/src/Notebook/SALOME_Notebook.cxx +++ b/src/Notebook/SALOME_Notebook.cxx @@ -1199,7 +1199,7 @@ SALOME::StringArray* SALOME_Notebook::GetAttributeParameters( const char* theStr SALOMEDS::Study_ptr SALOME_Notebook::GetStudy() { - return myStudy.in(); + return SALOMEDS::Study::_duplicate( myStudy ); } int SALOME_Notebook::GetNewId() diff --git a/src/Notebook/SALOME_ParameterizedObject.cxx b/src/Notebook/SALOME_ParameterizedObject.cxx index d97476c08..9df39259e 100644 --- a/src/Notebook/SALOME_ParameterizedObject.cxx +++ b/src/Notebook/SALOME_ParameterizedObject.cxx @@ -47,5 +47,5 @@ void SALOME_ParameterizedObject::SetNotebook( SALOME::Notebook_ptr theNotebook ) SALOME::Notebook_ptr SALOME_ParameterizedObject::GetNotebook() { - return myNotebook.in(); + return SALOME::Notebook::_duplicate( myNotebook ); } -- 2.39.2