From: Paul RASCLE Date: Fri, 16 Feb 2018 07:54:54 +0000 (+0100) Subject: remover traces on POA X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=758ed43389fc66f7503ff47a178527b16b9da475;p=modules%2Fkernel.git remover traces on POA --- diff --git a/src/GenericObj/SALOME_GenericObj_i.cc b/src/GenericObj/SALOME_GenericObj_i.cc index 19e4698d0..234933606 100644 --- a/src/GenericObj/SALOME_GenericObj_i.cc +++ b/src/GenericObj/SALOME_GenericObj_i.cc @@ -92,7 +92,8 @@ namespace SALOME else { myPOA = PortableServer::POA::_duplicate(thePOA); } - MESSAGE("GenericObj_i::GenericObj_i thePOA: " << thePOA << " myPOA: " << myPOA); + if(MYDEBUG) + MESSAGE("GenericObj_i::GenericObj_i thePOA: " << thePOA << " myPOA: " << myPOA); } /*! diff --git a/src/SALOMEDS/SALOMEDS_ChildIterator_i.cxx b/src/SALOMEDS/SALOMEDS_ChildIterator_i.cxx index 31476bf5b..3a17656b0 100644 --- a/src/SALOMEDS/SALOMEDS_ChildIterator_i.cxx +++ b/src/SALOMEDS/SALOMEDS_ChildIterator_i.cxx @@ -69,7 +69,7 @@ SALOMEDS_ChildIterator_i::~SALOMEDS_ChildIterator_i() PortableServer::POA_ptr SALOMEDS_ChildIterator_i::_default_POA() { myPOA = PortableServer::POA::_duplicate(SALOMEDS_StudyManager_i::GetThePOA()); - MESSAGE("SALOMEDS_ChildIterator_i::_default_POA: " << myPOA); + //MESSAGE("SALOMEDS_ChildIterator_i::_default_POA: " << myPOA); return PortableServer::POA::_duplicate(myPOA); } diff --git a/src/SALOMEDS/SALOMEDS_GenericAttribute_i.cxx b/src/SALOMEDS/SALOMEDS_GenericAttribute_i.cxx index fc3f26323..114c0a228 100644 --- a/src/SALOMEDS/SALOMEDS_GenericAttribute_i.cxx +++ b/src/SALOMEDS/SALOMEDS_GenericAttribute_i.cxx @@ -68,7 +68,7 @@ SALOMEDS_GenericAttribute_i::~SALOMEDS_GenericAttribute_i() PortableServer::POA_ptr SALOMEDS_GenericAttribute_i::_default_POA() { myPOA = PortableServer::POA::_duplicate(SALOMEDS_StudyManager_i::GetThePOA()); - MESSAGE("SALOMEDS_GenericAttribute_i::_default_POA: " << myPOA); + //MESSAGE("SALOMEDS_GenericAttribute_i::_default_POA: " << myPOA); return PortableServer::POA::_duplicate(myPOA); } diff --git a/src/SALOMEDS/SALOMEDS_SObject_i.cxx b/src/SALOMEDS/SALOMEDS_SObject_i.cxx index fd6601ee0..bfff08d5e 100644 --- a/src/SALOMEDS/SALOMEDS_SObject_i.cxx +++ b/src/SALOMEDS/SALOMEDS_SObject_i.cxx @@ -99,7 +99,7 @@ SALOMEDS_SObject_i::~SALOMEDS_SObject_i() PortableServer::POA_ptr SALOMEDS_SObject_i::_default_POA() { myPOA = PortableServer::POA::_duplicate(SALOMEDS_StudyManager_i::GetThePOA()); - MESSAGE("SALOMEDS_SObject_i::_default_POA: " << myPOA); + //MESSAGE("SALOMEDS_SObject_i::_default_POA: " << myPOA); return PortableServer::POA::_duplicate(myPOA); } diff --git a/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx b/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx index 65d8386f0..04ab6e1d9 100644 --- a/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx +++ b/src/SALOMEDS/SALOMEDS_StudyManager_i.cxx @@ -514,7 +514,7 @@ PortableServer::POA_ptr SALOMEDS_StudyManager_i::GetThePOA() if (iter != _mapOfPOA.end()) { PortableServer::POA_ptr aPoa = iter->second; - MESSAGE("GetThePOA(): "<< aPoa); + //MESSAGE("GetThePOA(): "<< aPoa); return aPoa; } MESSAGE("GetThePOA(): _nil !"); diff --git a/src/SALOMEDS/SALOMEDS_UseCaseBuilder_i.cxx b/src/SALOMEDS/SALOMEDS_UseCaseBuilder_i.cxx index 2076c255b..4c4d3fdd4 100644 --- a/src/SALOMEDS/SALOMEDS_UseCaseBuilder_i.cxx +++ b/src/SALOMEDS/SALOMEDS_UseCaseBuilder_i.cxx @@ -67,7 +67,7 @@ SALOMEDS_UseCaseBuilder_i::~SALOMEDS_UseCaseBuilder_i() PortableServer::POA_ptr SALOMEDS_UseCaseBuilder_i::_default_POA() { myPOA = PortableServer::POA::_duplicate(SALOMEDS_StudyManager_i::GetThePOA()); - MESSAGE("SALOMEDS_UseCaseBuilder_i::_default_POA: " << myPOA); + //MESSAGE("SALOMEDS_UseCaseBuilder_i::_default_POA: " << myPOA); return PortableServer::POA::_duplicate(myPOA); } diff --git a/src/SALOMEDS/SALOMEDS_UseCaseIterator_i.cxx b/src/SALOMEDS/SALOMEDS_UseCaseIterator_i.cxx index 9a1f681b1..dd34e11b7 100644 --- a/src/SALOMEDS/SALOMEDS_UseCaseIterator_i.cxx +++ b/src/SALOMEDS/SALOMEDS_UseCaseIterator_i.cxx @@ -68,7 +68,7 @@ SALOMEDS_UseCaseIterator_i::~SALOMEDS_UseCaseIterator_i() PortableServer::POA_ptr SALOMEDS_UseCaseIterator_i::_default_POA() { myPOA = PortableServer::POA::_duplicate(SALOMEDS_StudyManager_i::GetThePOA()); - MESSAGE("SALOMEDS_UseCaseIterator_i::_default_POA: " << myPOA); + //MESSAGE("SALOMEDS_UseCaseIterator_i::_default_POA: " << myPOA); return PortableServer::POA::_duplicate(myPOA); }