vcl/source/gdi/impgraph.cxx | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-)
New commits: commit a36b071fa5eb7e21de622648e4c23ca6af9dc87b Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Tue Aug 18 19:50:25 2020 +0200 Commit: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> CommitDate: Tue Aug 18 19:50:25 2020 +0200 ImpGraphic::swapOutContent: remove chaning when writing to stream Change-Id: I6f4428e0054c4697f7a15e2f318dc114d38dade0 diff --git a/vcl/source/gdi/impgraph.cxx b/vcl/source/gdi/impgraph.cxx index a6650201ade0..8000bf178c9d 100644 --- a/vcl/source/gdi/impgraph.cxx +++ b/vcl/source/gdi/impgraph.cxx @@ -1173,12 +1173,20 @@ bool ImpGraphic::swapInContent(SvStream& rStream) sal_Int32 nMapMode, nScaleNumX, nScaleDenomX; sal_Int32 nScaleNumY, nScaleDenomY, nOffsX, nOffsY; - rStream.SeekRel( -4 ); + rStream.SeekRel(-4); sal_Int32 nLen; - rStream.ReadInt32( nType ).ReadInt32( nLen ).ReadInt32( nWidth ).ReadInt32( nHeight ); - rStream.ReadInt32( nMapMode ).ReadInt32( nScaleNumX ).ReadInt32( nScaleDenomX ).ReadInt32( nScaleNumY ); - rStream.ReadInt32( nScaleDenomY ).ReadInt32( nOffsX ).ReadInt32( nOffsY ); + rStream.ReadInt32(nType); + rStream.ReadInt32(nLen); + rStream.ReadInt32(nWidth); + rStream.ReadInt32(nHeight); + rStream.ReadInt32(nMapMode); + rStream.ReadInt32(nScaleNumX); + rStream.ReadInt32(nScaleDenomX); + rStream.ReadInt32(nScaleNumY); + rStream.ReadInt32(nScaleDenomY); + rStream.ReadInt32(nOffsX); + rStream.ReadInt32(nOffsY); // swapped if( nType > 100 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits