]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix missing functions if the WITHGENERICOBJ macro is undefined
authorvsr <vsr@opencascade.com>
Mon, 21 Sep 2009 09:52:39 +0000 (09:52 +0000)
committervsr <vsr@opencascade.com>
Mon, 21 Sep 2009 09:52:39 +0000 (09:52 +0000)
src/SALOMEDS/SALOMEDS_StudyManager_i.cxx
src/SALOMEDSImpl/SALOMEDSImpl_AttributeIOR.cxx

index 0f2f93ac68ae6d11299e9c3d3cf95f046d5d565a..7a09d7a4977aa2198044c9cf62bbb3a1f87f33c7 100644 (file)
@@ -172,6 +172,8 @@ SALOMEDS::Study_ptr  SALOMEDS_StudyManager_i::Open(const char* aUrl)
   CORBA::String_var IORStudy = _orb->object_to_string(Study);
   aStudyImpl->SetTransientReference((char*)IORStudy.in());
 
+  _mapOfPOA[Study->StudyId()] = _poa;
+
   // Register study in the naming service
   // Path to acces the study
   if(!_name_service->Change_Directory("/Study")) MESSAGE( "Unable to access the study directory" )
index ad85e1f2ec57ded6ccde665fde401e80668ceba3..1c049a87f27a81022b917fb70e4174066ef13ac2 100644 (file)
@@ -77,6 +77,11 @@ void IORGenericObjIncref(const std::string& anIOR)
     {
     }
 }
+#else
+void IORGenericObjDecref(const std::string& anIOR)
+{}
+void IORGenericObjIncref(const std::string& anIOR)
+{}
 #endif
 
 //=======================================================================