From c1098829d6430a866580cb3904140d29241ad105 Mon Sep 17 00:00:00 2001 From: malaterre Date: Tue, 11 Jan 2005 19:03:00 +0000 Subject: [PATCH] BUG: Solve the previous stoopid bug introduce while moving the transfer syntax out of gdcm::Document. Update changelog --- ChangeLog | 5 +++++ src/gdcmDocument.cxx | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5b240ed0..b2f6f6e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-01-11 Mathieu Malaterre + * Untangle TransferSynatx from gdcm::Document. Now Document only manipulate + a string and should ask the global TS dict what are the propreties of + the transfer syntax + 2005-01-11 Jean-Pierre Roux * Replace confusing name SwitchSwapToBigEndian name by SwitchByteSwapCode * Add the Document::HandleOutOfGroup0002(uint16_t group) method diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index 1a10f5b8..f5320ec6 100644 --- a/src/gdcmDocument.cxx +++ b/src/gdcmDocument.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocument.cxx,v $ Language: C++ - Date: $Date: 2005/01/11 17:19:39 $ - Version: $Revision: 1.175 $ + Date: $Date: 2005/01/11 19:03:01 $ + Version: $Revision: 1.176 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -2623,7 +2623,7 @@ void Document::ReadAndSkipEncapsulatedBasicOffsetTable() void Document::ComputeRLEInfo() { std::string ts = GetTransferSyntax(); - if ( Global::GetTS()->IsRLELossless(ts) ) + if ( !Global::GetTS()->IsRLELossless(ts) ) { return; } -- 2.45.1