From: mpa Date: Mon, 10 Oct 2016 12:33:47 +0000 (+0300) Subject: - delete study parameter in PublishInStudy method X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=601709b48b6df119b09a071337966662d97afdef;p=modules%2Fyacs.git - delete study parameter in PublishInStudy method --- diff --git a/idl/SALOMEDS.idl b/idl/SALOMEDS.idl index 4f8ca7ef3..8c37a73cd 100644 --- a/idl/SALOMEDS.idl +++ b/idl/SALOMEDS.idl @@ -1398,7 +1398,6 @@ study is open, these references are transformed into persintent IORs. /*! \brief Publishing in the study Publishes the given object in the %study, using the algorithm of this component. - \param theStudy The %study in which the object is published \param theSObject If this parameter is null the object is published for the first time. Otherwise this parameter should contain a reference to the object published earlier \param theObject The object which is published @@ -1407,7 +1406,7 @@ study is open, these references are transformed into persintent IORs. \return The published %SObject. */ - SObject PublishInStudy(in Study theStudy, in SObject theSObject, in Object theObject, in string theName); + SObject PublishInStudy(in SObject theSObject, in Object theObject, in string theName); // copy/paste methods diff --git a/src/KernelHelpers/SALOMEDS_DriverDefaultImpl.cxx b/src/KernelHelpers/SALOMEDS_DriverDefaultImpl.cxx index 58153720e..5b14e24e7 100644 --- a/src/KernelHelpers/SALOMEDS_DriverDefaultImpl.cxx +++ b/src/KernelHelpers/SALOMEDS_DriverDefaultImpl.cxx @@ -181,10 +181,9 @@ }; //=========================================================================== - SALOMEDS::SObject_ptr SALOMEDS_DriverDefaultImpl::PublishInStudy(SALOMEDS::Study_ptr theStudy, - SALOMEDS::SObject_ptr theSObject, - CORBA::Object_ptr theObject, - const char* theName) + SALOMEDS::SObject_ptr SALOMEDS_DriverDefaultImpl::PublishInStudy(SALOMEDS::SObject_ptr theSObject, + CORBA::Object_ptr theObject, + const char* theName) throw (SALOME::SALOME_Exception) { MESSAGE("-----------------------------------------"); diff --git a/src/KernelHelpers/SALOMEDS_DriverDefaultImpl.hxx b/src/KernelHelpers/SALOMEDS_DriverDefaultImpl.hxx index a71fb5777..ea748e66a 100644 --- a/src/KernelHelpers/SALOMEDS_DriverDefaultImpl.hxx +++ b/src/KernelHelpers/SALOMEDS_DriverDefaultImpl.hxx @@ -87,12 +87,10 @@ class KERNELHELPERS_EXPORT SALOMEDS_DriverDefaultImpl: virtual bool CanPublishInStudy(CORBA::Object_ptr theIOR); - virtual SALOMEDS::SObject_ptr PublishInStudy - (SALOMEDS::Study_ptr theStudy, - SALOMEDS::SObject_ptr theSObject, - CORBA::Object_ptr theObject, - const char* theName) - throw (SALOME::SALOME_Exception); + virtual SALOMEDS::SObject_ptr PublishInStudy(SALOMEDS::SObject_ptr theSObject, + CORBA::Object_ptr theObject, + const char* theName) + throw (SALOME::SALOME_Exception); virtual CORBA::Boolean CanCopy(SALOMEDS::SObject_ptr theObject);