comparison Core/DicomParsing/ParsedDicomFile.cpp @ 4013:1e9f6d706237

cleanup
author Alain Mazy <alain@mazy.be>
date Mon, 08 Jun 2020 16:10:09 +0200
parents 914b15dedae3
children cc6ed76bba27
comparison
equal deleted inserted replaced
4012:dc6e7c7372ae 4013:1e9f6d706237
655 655
656 656
657 void ParsedDicomFile::ReplacePlainString(const DicomTag& tag, 657 void ParsedDicomFile::ReplacePlainString(const DicomTag& tag,
658 const std::string& utf8Value) 658 const std::string& utf8Value)
659 { 659 {
660 // if (tag.GetElement() == 4257 && tag.GetGroup() == 1031)
661 // {
662 // Replace(tag, utf8Value, false, DicomReplaceMode_InsertIfAbsent,
663 // "99CZM_CapeCod_OctGeneral");
664 // }
665 // else
666 if (tag.IsPrivate()) 660 if (tag.IsPrivate())
667 { 661 {
668 throw OrthancException(ErrorCode_InternalError, 662 throw OrthancException(ErrorCode_InternalError,
669 "Cannot apply this function to private tags: " + tag.Format()); 663 "Cannot apply this function to private tags: " + tag.Format());
670 } 664 }