#include <Utils_ExceptHandlers.hxx>
#include <SALOMEDS_wrap.hxx>
#include <SALOMEDS_Attributes_wrap.hxx>
+#include "SALOMEDS_Study_i.hxx"
#include <SALOME_KernelServices.hxx>
#include <TCollection_AsciiString.hxx>
//=======================================================================
SALOMEDS::Study_var SMESH_Gen_i::getStudyServant()
{
- return SALOMEDS::Study::_duplicate(KERNEL::getStudyServant());
+ return SALOMEDS::Study::_duplicate(KERNEL::getStudyServantSA());
}
//=======================================================================
*/
//=============================================================================
-SALOMEDS::SObject_ptr SMESH_Gen_i::PublishInStudy(SALOMEDS::SObject_ptr theSObject,
+SALOMEDS::SObject_ptr SMESH_Gen_i::PublishInStudy(SALOMEDS::SObject_ptr /*theSObject*/,
CORBA::Object_ptr theIOR,
const char* theName)
- throw (SALOME::SALOME_Exception)
{
Unexpect aCatch(SALOME_SalomeException);
SALOMEDS::SObject_wrap aSO;