[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Mar 29 11:11:43 UTC 2021
sc/source/filter/excel/xiescher.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 21508828c5f54559ea180d2a465a8866cd765a4d
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Mar 29 10:18:07 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Mar 29 13:11:05 2021 +0200
improve scoping
Change-Id: Ib41052e099defd691d2a864fb7da6390e3a49425
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113300
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx
index 0e46318a6838..09c8a0b4b034 100644
--- a/sc/source/filter/excel/xiescher.cxx
+++ b/sc/source/filter/excel/xiescher.cxx
@@ -957,9 +957,8 @@ void XclImpDrawObjBase::ImplReadObj8( XclImpStream& rStrm )
if( !((rStrm.GetNextRecId() == EXC_ID3_IMGDATA) && rStrm.StartNextRecord()) )
return;
- sal_uInt32 nDataSize;
rStrm.Ignore( 4 );
- nDataSize = rStrm.ReaduInt32();
+ sal_uInt32 nDataSize = rStrm.ReaduInt32();
nDataSize -= rStrm.GetRecLeft();
// skip following CONTINUE records until IMGDATA ends
while( (nDataSize > 0) && (rStrm.GetNextRecId() == EXC_ID_CONT) && rStrm.StartNextRecord() )
More information about the Libreoffice-commits
mailing list