diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-17 12:13:40 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-17 13:59:39 +0100 |
commit | 8a4dc64c04c9b0d6dbd1ce1699f793beeecfe95f (patch) | |
tree | b24a57e3955d975a4d4b003e913f17db615ec2ae /sc | |
parent | d28b51b92f96b1c2b04b0d69c5256d669d32afe7 (diff) |
coverity#706047 Unintended sign extension
also
coverity#706048
Change-Id: I93caf413db4582c8b2cdfbcf2358027c03ed113a
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xepivot.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xepivot.cxx b/sc/source/filter/excel/xepivot.cxx index 9623b9aeef36..4b8ca1384e29 100644 --- a/sc/source/filter/excel/xepivot.cxx +++ b/sc/source/filter/excel/xepivot.cxx @@ -1677,7 +1677,7 @@ void XclExpPivotTable::WriteSxli( XclExpStream& rStrm, sal_uInt16 nLineCount, sa { if( nLineCount > 0 ) { - sal_uInt16 nLineSize = 8 + 2 * nIndexCount; + sal_Size nLineSize = 8 + 2 * nIndexCount; rStrm.StartRecord( EXC_ID_SXLI, nLineSize * nLineCount ); /* Excel expects the records to be filled completely, do not |