]> Creatis software - gdcm.git/commitdiff
BUG: Solve the previous stoopid bug introduce while moving the transfer syntax out...
authormalaterre <malaterre>
Tue, 11 Jan 2005 19:03:00 +0000 (19:03 +0000)
committermalaterre <malaterre>
Tue, 11 Jan 2005 19:03:00 +0000 (19:03 +0000)
ChangeLog
src/gdcmDocument.cxx

index 5b240ed012c292b4c5127f9cdf45901f86d5a744..b2f6f6e74bde72e7c318ad260417ad82f76b75ce 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-11 Mathieu Malaterre  <Mathieu.Malaterre@creatis.insa-lyon.fr>
+   * 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 <jpr@creatis.univ-lyon1.fr>
    * Replace confusing name SwitchSwapToBigEndian name by SwitchByteSwapCode
    * Add the Document::HandleOutOfGroup0002(uint16_t group) method
index 1a10f5b8078f33dd1df17aeb05ccac0e17bd0244..f5320ec6ea2e7ad67910de14dc43195c61f38ae6 100644 (file)
@@ -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;
    }