From cc530036b500260bf29411f917cff64394276f27 Mon Sep 17 00:00:00 2001 From: jpr Date: Tue, 19 May 2009 15:08:36 +0000 Subject: [PATCH] Comments --- src/gdcmFile.cxx | 8 ++++---- src/gdcmSerieHelper.h | 6 +++--- src/gdcmopenjpeg/codec/CMakeLists.txt | 6 ++++++ 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/gdcmFile.cxx b/src/gdcmFile.cxx index fb738bd2..25831770 100644 --- a/src/gdcmFile.cxx +++ b/src/gdcmFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmFile.cxx,v $ Language: C++ - Date: $Date: 2008/01/07 17:16:06 $ - Version: $Revision: 1.343 $ + Date: $Date: 2009/05/19 15:08:36 $ + Version: $Revision: 1.344 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -491,7 +491,7 @@ bool File::GetSpacing(float &xspacing, float &yspacing, float &zspacing) } else { - if( mediastoragesopclassuid == sopclassuid ) + if ( mediastoragesopclassuid == sopclassuid ) { sopclassuid_used = mediastoragesopclassuid; } @@ -502,7 +502,7 @@ bool File::GetSpacing(float &xspacing, float &yspacing, float &zspacing) return false; } } - // ok we have now the correc SOP Class UID + // ok we have now the correct SOP Class UID if( sopclassuid_used == "Enhanced MR Image Storage" ) { SeqEntry *PerframeFunctionalGroupsSequence = GetSeqEntry(0x5200,0x9230); diff --git a/src/gdcmSerieHelper.h b/src/gdcmSerieHelper.h index b3d4b619..95a62aca 100644 --- a/src/gdcmSerieHelper.h +++ b/src/gdcmSerieHelper.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSerieHelper.h,v $ Language: C++ - Date: $Date: 2007/08/22 16:14:04 $ - Version: $Revision: 1.44 $ + Date: $Date: 2009/05/19 15:08:37 $ + Version: $Revision: 1.45 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -35,7 +35,7 @@ class File; typedef std::vector FileList; #ifndef GDCM_LEGACY_REMOVE -typedef std::vector GdcmFileList; + typedef std::vector GdcmFileList; #endif /// \brief XCoherent stands for 'Extra Coherent', diff --git a/src/gdcmopenjpeg/codec/CMakeLists.txt b/src/gdcmopenjpeg/codec/CMakeLists.txt index 00de4f36..4eb3b22f 100644 --- a/src/gdcmopenjpeg/codec/CMakeLists.txt +++ b/src/gdcmopenjpeg/codec/CMakeLists.txt @@ -1,5 +1,11 @@ # Build the demo app, small examples + + if(COMMAND cmake_policy) + cmake_policy(SET CMP0003 NEW) + endif(COMMAND cmake_policy) + + # First thing define the common source: SET(common_SRCS convert.c -- 2.45.0