filter/source/graphicfilter/itiff/itiff.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit faf245d0af5c9a6ae1e79349311945dacffdae7f Author: Georgy Litvinov <g...@litvinovg.pro> AuthorDate: Wed Dec 16 23:16:32 2020 +0100 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Fri Dec 18 06:52:28 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.gran...@collabora.co.uk> (cherry picked from commit 475422a4368b22df0418a2120ab2dec5d3440892) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107896 diff --git a/filter/source/graphicfilter/itiff/itiff.cxx b/filter/source/graphicfilter/itiff/itiff.cxx index 061d1a0ac73b..e7c571111e38 100644 --- a/filter/source/graphicfilter/itiff/itiff.cxx +++ b/filter/source/graphicfilter/itiff/itiff.cxx @@ -1695,7 +1695,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() ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits