X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDebug.cxx;h=a742c86b8bb56676d8e1b19ad284f3cfc88dc961;hb=41559a6f2d66bcd4af4db17a0d9668df37d19f3b;hp=ee5f72b545fb69c44ca30eaaa5031a09b8cd2c6c;hpb=82afaad85d04083d5d7945e2a70a79a720a9ba3a;p=gdcm.git diff --git a/src/gdcmDebug.cxx b/src/gdcmDebug.cxx index ee5f72b5..a742c86b 100644 --- a/src/gdcmDebug.cxx +++ b/src/gdcmDebug.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDebug.cxx,v $ Language: C++ - Date: $Date: 2005/11/28 15:20:32 $ - Version: $Revision: 1.27 $ + Date: $Date: 2005/11/28 16:31:22 $ + Version: $Revision: 1.28 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -118,11 +118,10 @@ std::ostream &Debug::GetOutput () return StandardStream; } -void Debug::SendToOutput(unsigned int type,std::string const &msg,const CommandManager *mgr) +void Debug::SendToOutput(unsigned int type,std::string const &msg,const Base *object) { bool executed=false; - if(mgr) - executed=mgr->ConstExecuteCommand(type,msg); + executed=CommandManager::ExecuteCommandConst(object,type,msg); if(!executed) GetOutput() << Command::GetCommandAsString(type) << ": " << msg;