[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Mar 22 20:03:30 UTC 2021
sc/source/filter/excel/xistream.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 05fea7061592221973fcc5018850113d577df57a
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Mar 22 11:52:28 2021 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Mar 22 21:02:39 2021 +0100
cid#1242892 experiment if this makes any difference
Change-Id: I62d16f4a6c5d8777b0f574878615bdd2dfee28e8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112918
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/filter/excel/xistream.cxx b/sc/source/filter/excel/xistream.cxx
index f9c79325f39f..7cf5d972e401 100644
--- a/sc/source/filter/excel/xistream.cxx
+++ b/sc/source/filter/excel/xistream.cxx
@@ -835,7 +835,7 @@ OUString XclImpStream::ReadRawUniString( sal_uInt16 nChars, bool b16Bit )
sal_uInt16 nCharsLeft = nChars;
sal_uInt16 nReadSize;
- while( IsValid() && (nCharsLeft > 0) )
+ while (IsValid() && nCharsLeft)
{
if( b16Bit )
{
More information about the Libreoffice-commits
mailing list