cid#988429 Unintentional integer overflow
Change-Id: Ia8d6b29e03317b0891c8357875261263c4f01c2d
This commit is contained in:
parent
552ac76dd4
commit
2bc7441715
@ -2997,7 +2997,7 @@ sal_uLong ScTable::GetRowHeight( SCROW nStartRow, SCROW nEndRow, bool bHiddenAsZ
|
||||
return nHeight;
|
||||
}
|
||||
else
|
||||
return (sal_uLong) ((nEndRow - nStartRow + 1) * ScGlobal::nStdRowHeight);
|
||||
return (nEndRow - nStartRow + 1) * (sal_uLong)ScGlobal::nStdRowHeight;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user