From c391fe9af5fe8f7bfa0f5f5afccbdf79d9c194a4 Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Fri, 16 Feb 2018 08:54:54 +0100 Subject: [PATCH] remover traces on POA --- src/GenericObj/SALOME_GenericObj_i.cc | 3 ++- src/SALOMEDS/SALOMEDS_ChildIterator_i.cxx | 2 +- src/SALOMEDS/SALOMEDS_GenericAttribute_i.cxx | 2 +- src/SALOMEDS/SALOMEDS_SObject_i.cxx | 2 +- src/SALOMEDS/SALOMEDS_StudyManager_i.cxx | 2 +- src/SALOMEDS/SALOMEDS_UseCaseBuilder_i.cxx | 2 +- src/SALOMEDS/SALOMEDS_UseCaseIterator_i.cxx | 2 +- 7 files changed, 8 insertions(+), 7 deletions(-) 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 2e9146896..0db23404c 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); } -- 2.39.2