Salome HOME
Revert "Merge remote-tracking branch 'origin/master'"
[modules/kernel.git] / src / SALOMEDS / SALOMEDS_SObject_i.cxx
index bfff08d5ed4907cf8ada7e6bc1109ba553e62031..210e0fa68217ad2a69d83c4bf17afbe39d3ed9f5 100644 (file)
@@ -58,8 +58,7 @@ SALOMEDS::SObject_ptr SALOMEDS_SObject_i::New(const SALOMEDSImpl_SObject& theImp
  *  Purpose  :
  */
 //============================================================================
-SALOMEDS_SObject_i::SALOMEDS_SObject_i(const SALOMEDSImpl_SObject& impl, CORBA::ORB_ptr orb) :
-  GenericObj_i(SALOMEDS_StudyManager_i::GetThePOA())
+SALOMEDS_SObject_i::SALOMEDS_SObject_i(const SALOMEDSImpl_SObject& impl, CORBA::ORB_ptr orb)
 {
   _impl = 0;
   if(!impl.IsNull()) {
@@ -86,23 +85,6 @@ SALOMEDS_SObject_i::~SALOMEDS_SObject_i()
    if(_impl) delete _impl;    
 }
 
-//============================================================================
-/*!
-  \brief Get default POA for the servant object.
-
-  This function is implicitly called from "_this()" function.
-  Default POA can be set via the constructor.
-
-  \return reference to the default POA for the servant
-*/
-//============================================================================
-PortableServer::POA_ptr SALOMEDS_SObject_i::_default_POA()
-{
-  myPOA = PortableServer::POA::_duplicate(SALOMEDS_StudyManager_i::GetThePOA());
-  //MESSAGE("SALOMEDS_SObject_i::_default_POA: " << myPOA);
-  return PortableServer::POA::_duplicate(myPOA);
-}
-
 //================================================================================
 /*!
  * \brief Returns true if the %SObject does not belong to any %Study