# HG changeset patch # User Sebastien Jodogne # Date 1623938366 -7200 # Node ID f6eaf617d8e8ab6ceb8b3db10a3860c621225717 # Parent 5a6adbc20ace72b139fd22acbe33f42ce94fe2eb fix unused files diff -r 5a6adbc20ace -r f6eaf617d8e8 OrthancStone/Sources/Toolbox/DicomStructureSet2.cpp --- 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(); } diff -r 5a6adbc20ace -r f6eaf617d8e8 UnitTestsSources/TestStructureSet.cpp --- 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 + TEST(StructureSet, ReadFromJsonThatsAll) { DicomStructureSet2 structureSet;