sc/source/filter/excel/xiescher.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit d96ed8cccec07e7e2b99111c61a4277e32243b3d Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat Jul 20 15:06:05 2019 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Jul 20 17:55:25 2019 +0200 assign nLen during ctor Change-Id: I9164bd2b653208214276c48ddf49b21436edbd63 Reviewed-on: https://gerrit.libreoffice.org/76012 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/sc/source/filter/excel/xiescher.cxx b/sc/source/filter/excel/xiescher.cxx index 15fea088d3a2..c4d10a8eaf5a 100644 --- a/sc/source/filter/excel/xiescher.cxx +++ b/sc/source/filter/excel/xiescher.cxx @@ -3138,8 +3138,7 @@ void XclImpPictureObj::ReadPictFmla( XclImpStream& rStrm, sal_uInt16 nLinkSize ) // a class name may follow inside the picture link if( rStrm.GetRecPos() + 2 <= nLinkEnd ) { - sal_uInt16 nLen; - nLen = rStrm.ReaduInt16(); + sal_uInt16 nLen = rStrm.ReaduInt16(); if( nLen > 0 ) maClassName = (GetBiff() == EXC_BIFF8) ? rStrm.ReadUniString( nLen ) : rStrm.ReadRawByteString( nLen ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits