comparison OrthancFramework/Sources/DicomParsing/ParsedDicomDir.cpp @ 4200:7112a8af0b63

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Sep 2020 20:53:31 +0200
parents 6774605d4341
children 785a2713323e
comparison
equal deleted inserted replaced
4199:fbc49a65340a 4200:7112a8af0b63
63 return true; 63 return true;
64 } 64 }
65 } 65 }
66 66
67 67
68 ParsedDicomDir::ParsedDicomDir(const std::string content) 68 ParsedDicomDir::ParsedDicomDir(const std::string& content)
69 { 69 {
70 ParsedDicomFile dicom(content); 70 ParsedDicomFile dicom(content);
71 71
72 DcmSequenceOfItems* sequence = NULL; 72 DcmSequenceOfItems* sequence = NULL;
73 if (dicom.GetDcmtkObject().getDataset() == NULL || 73 if (dicom.GetDcmtkObject().getDataset() == NULL ||