summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-22 11:52:28 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-03-22 21:02:39 +0100
commit05fea7061592221973fcc5018850113d577df57a (patch)
treecf684082a663e66e4cfbb3cb368ce7ca4cfb3355 /sc
parent92220638362755f0e776e222fa4e8b79377e75eb (diff)
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@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xistream.cxx2
1 files changed, 1 insertions, 1 deletions
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 )
{