diff options
Diffstat (limited to 'vcl/source/filter/graphicfilter2.cxx')
-rw-r--r-- | vcl/source/filter/graphicfilter2.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/filter/graphicfilter2.cxx b/vcl/source/filter/graphicfilter2.cxx index 9c7491ea5e4a..b3fce62c75f0 100644 --- a/vcl/source/filter/graphicfilter2.cxx +++ b/vcl/source/filter/graphicfilter2.cxx @@ -643,7 +643,8 @@ bool GraphicDescriptor::ImpDetectTIF( SvStream& rStm, bool bExtendedInfo ) // Offset of the first IFD rStm.ReadUInt32( nTemp32 ); - rStm.SeekRel( ( nCount = ( nTemp32 + 2 ) ) - 0x08 ); + nCount = nTemp32 + 2; + rStm.SeekRel( nCount - 0x08 ); if ( nCount < nMax ) { |