Mercurial > hg > orthanc
comparison OrthancServer/ServerJobs/ResourceModificationJob.cpp @ 3951:5fe8c6d3212e transcoding
removed useless information "hasSopInstanceUidChanged"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 19 May 2020 21:06:53 +0200 |
parents | 3d2fc1b5cc8c |
children |
comparison
equal
deleted
inserted
replaced
3950:5797ca4f3b8d | 3951:5fe8c6d3212e |
---|---|
184 | 184 |
185 IDicomTranscoder::DicomImage source; | 185 IDicomTranscoder::DicomImage source; |
186 source.AcquireParsed(*modified); // "modified" is invalid below this point | 186 source.AcquireParsed(*modified); // "modified" is invalid below this point |
187 | 187 |
188 IDicomTranscoder::DicomImage transcoded; | 188 IDicomTranscoder::DicomImage transcoded; |
189 bool hasSopInstanceUidChanged; | 189 if (GetContext().Transcode(transcoded, source, syntaxes, true)) |
190 if (GetContext().Transcode(transcoded, hasSopInstanceUidChanged, source, syntaxes, true)) | |
191 { | 190 { |
192 modified.reset(transcoded.ReleaseAsParsedDicomFile()); | 191 modified.reset(transcoded.ReleaseAsParsedDicomFile()); |
193 | 192 |
194 // Fix the SOP instance UID in order the preserve the | 193 // Fix the SOP instance UID in order the preserve the |
195 // references between instance UIDs in the DICOM hierarchy | 194 // references between instance UIDs in the DICOM hierarchy |