Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomParsing/DicomModification.cpp @ 4690:13efc0967cea
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 10 Jun 2021 11:21:22 +0200 |
parents | 177ad026d219 |
children | a08ef46c95a1 |
comparison
equal
deleted
inserted
replaced
4689:ead3b81f4541 | 4690:13efc0967cea |
---|---|
496 return true; | 496 return true; |
497 } | 497 } |
498 else | 498 else |
499 { | 499 { |
500 for (RemovedRanges::const_iterator it = removedRanges_.begin(); | 500 for (RemovedRanges::const_iterator it = removedRanges_.begin(); |
501 it != removedRanges_.end(); it++) | 501 it != removedRanges_.end(); ++it) |
502 { | 502 { |
503 if (it->Contains(tag)) | 503 if (it->Contains(tag)) |
504 { | 504 { |
505 return true; | 505 return true; |
506 } | 506 } |
1387 | 1387 |
1388 // New in Orthanc 1.9.4 | 1388 // New in Orthanc 1.9.4 |
1389 Json::Value lst = Json::arrayValue; | 1389 Json::Value lst = Json::arrayValue; |
1390 for (ListOfPaths::const_iterator it = keepSequences_.begin(); it != keepSequences_.end(); ++it) | 1390 for (ListOfPaths::const_iterator it = keepSequences_.begin(); it != keepSequences_.end(); ++it) |
1391 { | 1391 { |
1392 assert(it->GetPrefixLength() > 0); | |
1393 lst.append(it->Format()); | 1392 lst.append(it->Format()); |
1394 } | 1393 } |
1395 | 1394 |
1396 value[KEEP_SEQUENCES] = lst; | 1395 value[KEEP_SEQUENCES] = lst; |
1397 | 1396 |