Mercurial > hg > orthanc-wsi
comparison Applications/Dicomizer.cpp @ 26:952b2c6ee0a2
fix msvc
author | jodogne |
---|---|
date | Thu, 27 Oct 2016 12:47:32 +0200 |
parents | 62adabb8c122 |
children | 8ba39f9ce8d4 |
comparison
equal
deleted
inserted
replaced
25:4f32a0c255dc | 26:952b2c6ee0a2 |
---|---|
297 std::auto_ptr<DcmAttributeTag> a2(new DcmAttributeTag(DCM_DimensionIndexPointer)); | 297 std::auto_ptr<DcmAttributeTag> a2(new DcmAttributeTag(DCM_DimensionIndexPointer)); |
298 | 298 |
299 if (!item->putAndInsertString(DCM_DimensionOrganizationUID, uid.c_str()).good() || | 299 if (!item->putAndInsertString(DCM_DimensionOrganizationUID, uid.c_str()).good() || |
300 !a1->putTagVal(DCM_FrameContentSequence).good() || | 300 !a1->putTagVal(DCM_FrameContentSequence).good() || |
301 !a2->putTagVal(DCM_DimensionIndexValues).good() || | 301 !a2->putTagVal(DCM_DimensionIndexValues).good() || |
302 !item->insert(a1.release(), uid.c_str()).good() || | 302 !item->insert(a1.release()).good() || |
303 !item->insert(a2.release(), uid.c_str()).good() || | 303 !item->insert(a2.release()).good() || |
304 !sequence->insert(item.release(), false, false).good() || | 304 !sequence->insert(item.release(), false, false).good() || |
305 !dataset.insert(sequence.release(), true, false).good()) | 305 !dataset.insert(sequence.release(), true, false).good()) |
306 { | 306 { |
307 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); | 307 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); |
308 } | 308 } |