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