X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmFile.cxx;h=c0adb1046482f3d194bd8570c238bb52909468e9;hb=581799e9ae133b8af7a6d432372e0371cad620c2;hp=a43e5b7afb2d6f5b037515082c6f8a4bae35e432;hpb=513a2206d31b39673d3577e4d056a4e06bf160e3;p=gdcm.git diff --git a/src/gdcmFile.cxx b/src/gdcmFile.cxx index a43e5b7a..c0adb104 100644 --- a/src/gdcmFile.cxx +++ b/src/gdcmFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmFile.cxx,v $ Language: C++ - Date: $Date: 2005/05/17 12:44:09 $ - Version: $Revision: 1.238 $ + Date: $Date: 2005/05/29 21:56:36 $ + Version: $Revision: 1.239 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -117,7 +117,7 @@ File::File( std::string const &filename ) { // Compute the RLE or JPEG info OpenFile(); - std::string ts = GetTransferSyntax(); + const std::string &ts = GetTransferSyntax(); Fp->seekg( entry->GetOffset(), std::ios::beg ); if ( Global::GetTS()->IsRLELossless(ts) ) ComputeRLEInfo();