From 4e0fff9935d03469ce6d7484e5f43dddb06e251b Mon Sep 17 00:00:00 2001 From: regrain Date: Mon, 28 Nov 2005 10:55:00 +0000 Subject: [PATCH 1/1] * Remove commented lines refering to gdcmXxxMacro -- BeNours --- Example/PrintFile.cxx | 9 +++------ Example/exReadPapyrus.cxx | 5 ++--- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/Example/PrintFile.cxx b/Example/PrintFile.cxx index a6586f68..77a4920f 100644 --- a/Example/PrintFile.cxx +++ b/Example/PrintFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: PrintFile.cxx,v $ Language: C++ - Date: $Date: 2005/11/23 13:38:17 $ - Version: $Revision: 1.73 $ + Date: $Date: 2005/11/28 10:55:00 $ + Version: $Revision: 1.74 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -49,7 +49,6 @@ void ShowLutData(gdcm::File *f) std::string lutDescriptor = sqi->GetEntryString(0x0028,0x3002); if ( /*lutDescriptor == GDCM_UNFOUND*/ 0 ) { - //gdcmWarningMacro( "LUT Descriptor is missing" ); std::cout << "LUT Descriptor is missing" << std::endl; return; } @@ -68,8 +67,7 @@ void ShowLutData(gdcm::File *f) << std::endl; if ( nbRead != 3 ) { - //gdcmWarningMacro( "Wrong LUT descriptor" ); - std::cout << "Wrong LUT descriptor" << std::endl; + std::cout << "Wrong LUT descriptor" << std::endl; } //LUT Data (CTX dependent) gdcm::DataEntry *b = sqi->GetDataEntry(0x0028,0x3006); @@ -399,7 +397,6 @@ int main(int argc, char *argv[]) &length, &deb, &nbits ); if ( nbRead != 3 ) { - //gdcmWarningMacro( "Wrong LUT descriptor" ); std::cout << "Wrong LUT descriptor" << std::endl; } gdcm::DataEntry *b = sqi->GetDataEntry(0x0028,0x3006); diff --git a/Example/exReadPapyrus.cxx b/Example/exReadPapyrus.cxx index eed4ddb3..c0398af6 100644 --- a/Example/exReadPapyrus.cxx +++ b/Example/exReadPapyrus.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: exReadPapyrus.cxx,v $ Language: C++ - Date: $Date: 2005/10/25 14:52:28 $ - Version: $Revision: 1.5 $ + Date: $Date: 2005/11/28 10:55:00 $ + Version: $Revision: 1.6 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -232,7 +232,6 @@ int main(int argc, char *argv[]) if( ! *Fp ) { std::cout << "Cannot open file: " << fileName << std::endl; - //gdcmDebugMacro( "Cannot open file: " << fileName.c_str() ); delete Fp; Fp = 0; return 0; -- 2.45.1