summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorGeorgy Litvinov <git@litvinovg.pro>2020-12-16 23:16:32 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-18 06:52:28 +0100
commitfaf245d0af5c9a6ae1e79349311945dacffdae7f (patch)
treed89ae73e72424da35d788eb8fdcb2b5942244ca9 /filter
parentbump product version to 7.1.0.1.0+ (diff)
downloadcore-faf245d0af5c9a6ae1e79349311945dacffdae7f.tar.gz
core-faf245d0af5c9a6ae1e79349311945dacffdae7f.zip
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@collabora.co.uk> (cherry picked from commit 475422a4368b22df0418a2120ab2dec5d3440892) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107896
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/itiff/itiff.cxx2
1 files changed, 1 insertions, 1 deletions
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() )
{