[Libreoffice-commits] core.git: vcl/source
Tomaž Vajngerl (via logerrit)
logerrit at kemper.freedesktop.org
Fri Sep 25 19:05:21 UTC 2020
vcl/source/gdi/impgraph.cxx | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
New commits:
commit 06d69b75f5272cf5d60fb9b1862ccf3b4bf927e7
Author: Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Tue Aug 18 19:50:25 2020 +0200
Commit: Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Fri Sep 25 21:04:36 2020 +0200
ImpGraphic::swapOutContent: remove chaning when writing to stream
Change-Id: I6f4428e0054c4697f7a15e2f318dc114d38dade0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103402
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
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 )
More information about the Libreoffice-commits
mailing list