[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Mar 29 13:02:45 UTC 2021
sc/source/filter/excel/xlformula.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 1cd17e986038e843e60944e674a4e0e155276f7f
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Mar 29 10:41:54 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Mar 29 15:02:04 2021 +0200
improve scoping
Change-Id: I4638f35b99803ed8b46ffbf9e396b3fed65790e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113304
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/filter/excel/xlformula.cxx b/sc/source/filter/excel/xlformula.cxx
index ad2f384234ff..8f176ab72921 100644
--- a/sc/source/filter/excel/xlformula.cxx
+++ b/sc/source/filter/excel/xlformula.cxx
@@ -740,8 +740,7 @@ sal_uInt16 XclTokenArray::GetSize() const
void XclTokenArray::ReadSize( XclImpStream& rStrm )
{
- sal_uInt16 nSize;
- nSize = rStrm.ReaduInt16();
+ sal_uInt16 nSize = rStrm.ReaduInt16();
maTokVec.resize( nSize );
}
More information about the Libreoffice-commits
mailing list