Salome HOME
increase number of allowed containers parallel launchs
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_StudyManager_i.cxx
index e2c39a1c2958670c0c13858f0ed338af461cc7a9..6113ccc98c9e78c8fd6a75ba0c0c218bc4198b50 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -30,7 +30,6 @@
 #include "SALOMEDS_Study_i.hxx"
 #include "SALOMEDS_SComponent_i.hxx"
 #include "SALOMEDS_Driver_i.hxx"
-#include "SALOMEDS_SimanStudy_i.hxx"
 #include "SALOMEDS.hxx"
 
 #include "SALOMEDSImpl_Study.hxx"
@@ -90,7 +89,6 @@ SALOMEDS_StudyManager_i::~SALOMEDS_StudyManager_i()
   delete _name_service;
   delete _factory;
   delete _impl;
-  delete SALOMEDS_SimanStudy_i::GetSimanServant(_orb);
 }
 
 //============================================================================
@@ -490,7 +488,7 @@ PortableServer::POA_ptr SALOMEDS_StudyManager_i::GetPOA(const SALOMEDS::Study_pt
 }
 
 CORBA::Long SALOMEDS_StudyManager_i::getPID()
-{ 
+{
 #ifdef WIN32
   return (CORBA::Long)_getpid();
 #else
@@ -503,19 +501,6 @@ void SALOMEDS_StudyManager_i::ShutdownWithExit()
   exit( EXIT_SUCCESS );
 }
 
-//============================================================================
-/*! Function : GetSimanStudy
- *  Purpose  : Retruns the created or cashed SimanStudy
- */
-//============================================================================
-SALOMEDS::SimanStudy_ptr SALOMEDS_StudyManager_i::GetSimanStudy()
-{
-  SALOMEDS::Locker lock;
-
-  SALOMEDS_SimanStudy_i* aSiman_servant = SALOMEDS_SimanStudy_i::GetSimanServant(_orb);
-  return aSiman_servant->_this();
-}
-
 //===========================================================================
 //   PRIVATE FUNCTIONS
 //===========================================================================