changeset 1837:f6eaf617d8e8

fix unused files
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 17 Jun 2021 15:59:26 +0200
parents 5a6adbc20ace
children d7ac540e0149
files OrthancStone/Sources/Toolbox/DicomStructureSet2.cpp UnitTestsSources/TestStructureSet.cpp
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancStone/Sources/Toolbox/DicomStructureSet2.cpp	Sat Jun 12 13:43:42 2021 +0200
+++ b/OrthancStone/Sources/Toolbox/DicomStructureSet2.cpp	Thu Jun 17 15:59:26 2021 +0200
@@ -83,15 +83,14 @@
     {
       Orthanc::DicomTag tag = dicomPath.GetPrefixTag(i);
 
-      // We use this other object to be able to use GetMainTagsName
-      // and Format
+      // We use this other object to be able to use Format
       Orthanc::DicomTag tag2(tag.GetGroup(), tag.GetElement());
       size_t index = dicomPath.GetPrefixIndex(i);
-      tmp << tag2.GetMainTagsName() << " (" << tag2.Format() << ") [" << index << "] / ";
+      tmp << " (" << tag2.Format() << ") [" << index << "] / ";
     }
     const Orthanc::DicomTag& tag = dicomPath.GetFinalTag();
     Orthanc::DicomTag tag2(tag.GetGroup(), tag.GetElement());
-    tmp << tag2.GetMainTagsName() << " (" << tag2.Format() << ")";
+    tmp << " (" << tag2.Format() << ")";
     s = tmp.str();
   }
 
--- a/UnitTestsSources/TestStructureSet.cpp	Sat Jun 12 13:43:42 2021 +0200
+++ b/UnitTestsSources/TestStructureSet.cpp	Thu Jun 17 15:59:26 2021 +0200
@@ -4301,6 +4301,8 @@
 }
 
 
+#include <Toolbox.h>
+
 TEST(StructureSet, ReadFromJsonThatsAll)
 {
   DicomStructureSet2 structureSet;