[Libreoffice-commits] core.git: Branch 'libreoffice-7-0' - filter/source

Georgy Litvinov (via logerrit) logerrit at kemper.freedesktop.org
Mon Dec 21 15:50:10 UTC 2020


 filter/source/graphicfilter/itiff/itiff.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7057d3be756c90c2722366348d0517ebe2b5b5ce
Author:     Georgy Litvinov <git at litvinovg.pro>
AuthorDate: Wed Dec 16 23:16:32 2020 +0100
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Mon Dec 21 16:49:37 2020 +0100

    tdf#138818 Import full TIFF file
    
    Change-Id: I519c810b8e52f698884eb8feac6994140ce9ca25
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107859
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    (cherry picked from commit 475422a4368b22df0418a2120ab2dec5d3440892)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107896
    (cherry picked from commit faf245d0af5c9a6ae1e79349311945dacffdae7f)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108005
    Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>

diff --git a/filter/source/graphicfilter/itiff/itiff.cxx b/filter/source/graphicfilter/itiff/itiff.cxx
index 4a15becae1b8..eb7da6530251 100644
--- a/filter/source/graphicfilter/itiff/itiff.cxx
+++ b/filter/source/graphicfilter/itiff/itiff.cxx
@@ -1692,7 +1692,7 @@ bool TIFFReader::ReadTIFF(SvStream & rTIFF, Graphic & rGraphic )
 
     // seek to end of TIFF if succeeded
     pTIFF->SetEndian( nOrigNumberFormat );
-    pTIFF->Seek(bStatus ? nMaxPos : nOrigPos);
+    pTIFF->Seek(bStatus ? STREAM_SEEK_TO_END: nOrigPos);
 
     if ( aAnimation.Count() )
     {


More information about the Libreoffice-commits mailing list