]> SALOME platform Git repositories - modules/yacs.git/commitdiff
Salome HOME
- delete study parameter in PublishInStudy method
authormpa <mpa@opencascade.com>
Mon, 10 Oct 2016 12:33:47 +0000 (15:33 +0300)
committermpa <mpa@opencascade.com>
Fri, 14 Oct 2016 06:15:27 +0000 (09:15 +0300)
idl/SALOMEDS.idl
src/KernelHelpers/SALOMEDS_DriverDefaultImpl.cxx
src/KernelHelpers/SALOMEDS_DriverDefaultImpl.hxx

index 4f8ca7ef3077ac9e7ad3498aec9a988d69345b63..8c37a73cd05461911476d04c23a5e63fc43ff977 100644 (file)
@@ -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
 
index 58153720ee08aca42e00425d782e104363633628..5b14e24e77242454e2ff28560bdeb76b9d0b7d97 100644 (file)
   };
 
 //===========================================================================
-  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("-----------------------------------------");
index a71fb5777ff7dfb818c85a257300ea4b6dc25276..ea748e66ab489ad1bed93e64495a93b43ca3ce9f 100644 (file)
@@ -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);