# HG changeset patch # User Sebastien Jodogne # Date 1630340213 -7200 # Node ID 235d3a9f8dec37a6a22b2a475fbd30486ff61c34 # Parent ebb801d44e064c4e468c230ec0c8a17b9cfab873 fix diff -r ebb801d44e06 -r 235d3a9f8dec OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp --- a/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp Mon Aug 30 12:13:05 2021 +0200 +++ b/OrthancFramework/Sources/DicomParsing/ParsedDicomFile.cpp Mon Aug 30 18:16:53 2021 +0200 @@ -1861,8 +1861,8 @@ dataset.findAndGetString(DCM_RescaleSlope, slope).good() && intercept != NULL && slope != NULL && - SerializationToolbox::ParseFirstDouble(rescaleIntercept, intercept) && - SerializationToolbox::ParseFirstDouble(rescaleSlope, slope)) + SerializationToolbox::ParseDouble(rescaleIntercept, intercept) && + SerializationToolbox::ParseDouble(rescaleSlope, slope)) { return; // OK } @@ -1874,8 +1874,8 @@ item2->findAndGetString(DCM_RescaleSlope, slope).good() && intercept != NULL && slope != NULL && - SerializationToolbox::ParseFirstDouble(rescaleIntercept, intercept) && - SerializationToolbox::ParseFirstDouble(rescaleSlope, slope)) + SerializationToolbox::ParseDouble(rescaleIntercept, intercept) && + SerializationToolbox::ParseDouble(rescaleSlope, slope)) { // New in Orthanc 1.9.7, to deal with Philips multiframe images // (cf. private mail from Tomas Kenda on 2021-08-17)