diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-16 17:44:17 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-16 20:24:51 +0100 |
commit | d6f00ac943fbcdc56e828db0c9ff96337c1e74f7 (patch) | |
tree | fd7ac38d6bdf7a203c9919fe477815b09e7cba24 /sc | |
parent | 31fd3641b363c81ab23e10e6425a39e27a224c3d (diff) |
cid#1448453 Untrusted value as argument
coverity doesn't warn about XclImpString::ReadFormats
Change-Id: Ide6285f39fed09a1767c2a2272f30ec213a20106
Reviewed-on: https://gerrit.libreoffice.org/82993
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xistring.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xistring.cxx b/sc/source/filter/excel/xistring.cxx index 4b06f3447978..096507ba8351 100644 --- a/sc/source/filter/excel/xistring.cxx +++ b/sc/source/filter/excel/xistring.cxx @@ -80,7 +80,7 @@ void XclImpString::Read( XclImpStream& rStrm, XclStrFlags nFlags ) maString = rStrm.ReadRawUniString( nChars, b16Bit ); // --- formatting --- - if( nRunCount > 0 ) + if (nRunCount) ReadFormats( rStrm, maFormats, nRunCount ); // --- extended (FarEast) information --- |