From 4362b8f0545aa491dcf5295ad96d910aac169462 Mon Sep 17 00:00:00 2001 From: jpr Date: Tue, 7 Jun 2005 10:07:20 +0000 Subject: [PATCH] Remove some spurious calls to Format --- src/gdcmDictEntry.cxx | 6 +++--- src/gdcmDocEntry.cxx | 6 +++--- src/gdcmValEntry.cxx | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/gdcmDictEntry.cxx b/src/gdcmDictEntry.cxx index f47d5276..db088735 100644 --- a/src/gdcmDictEntry.cxx +++ b/src/gdcmDictEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDictEntry.cxx,v $ Language: C++ - Date: $Date: 2005/06/07 08:59:39 $ - Version: $Revision: 1.46 $ + Date: $Date: 2005/06/07 10:07:20 $ + Version: $Revision: 1.47 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -98,7 +98,7 @@ TagKey DictEntry::TranslateToKey(uint16_t group, uint16_t elem) // time consuming methods. // Let's try to shorten it ! - //return Util::Format("%04x|%04x", group, elem); + //return Util::Format("%04x|%04x", group, elem); // too much time ! char res[10]; sprintf(res,"%04x|%04x", group, elem); return res; diff --git a/src/gdcmDocEntry.cxx b/src/gdcmDocEntry.cxx index 6224b551..5f518a61 100644 --- a/src/gdcmDocEntry.cxx +++ b/src/gdcmDocEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocEntry.cxx,v $ Language: C++ - Date: $Date: 2005/04/19 09:58:19 $ - Version: $Revision: 1.55 $ + Date: $Date: 2005/06/07 10:07:20 $ + Version: $Revision: 1.56 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -231,7 +231,7 @@ void DocEntry::Print(std::ostream &os, std::string const & ) lgth = GetReadLength(); // ReadLength, as opposed to Length if (lgth == 0xffffffff) { - st = Util::Format("x(ffff)"); // I said : "x(ffff)" ! + st = "ffff"; s.setf(std::ios::left); s << std::setw(10-st.size()) << " "; s << st << " "; diff --git a/src/gdcmValEntry.cxx b/src/gdcmValEntry.cxx index 67bfe1d0..9359185d 100644 --- a/src/gdcmValEntry.cxx +++ b/src/gdcmValEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmValEntry.cxx,v $ Language: C++ - Date: $Date: 2005/04/24 16:21:44 $ - Version: $Revision: 1.60 $ + Date: $Date: 2005/06/07 10:07:20 $ + Version: $Revision: 1.61 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -281,7 +281,7 @@ void ValEntry::Print(std::ostream &os, std::string const &) { if (v == "4294967295") // to avoid troubles in convertion { - st = Util::Format(" x(ffffffff)"); + st = "ffffffff"; } else { @@ -291,7 +291,7 @@ void ValEntry::Print(std::ostream &os, std::string const &) } else { - st = Util::Format(" "); + st = " "; } } s << st; -- 2.48.1