coverity#1242895 Untrusted value as argument
Change-Id: I1f0d8aee19d2723861aa70f31176db08299cd9b9
This commit is contained in:
@@ -1542,7 +1542,9 @@ void Sc10Import::LoadTables()
|
||||
{
|
||||
rStream.ReadUInt16( DataEnd );
|
||||
rStream.ReadUInt16( DataValue );
|
||||
pDoc->SetRowHeightRange(static_cast<SCROW> (DataStart), static_cast<SCROW> (DataEnd), static_cast<SCTAB> (TabNo), DataValue);
|
||||
pDoc->SetRowHeightRange(SanitizeRow(static_cast<SCROW>(DataStart)),
|
||||
SanitizeRow(static_cast<SCROW>(DataEnd)),
|
||||
static_cast<SCTAB> (TabNo), DataValue);
|
||||
DataStart = DataEnd + 1;
|
||||
}
|
||||
pPrgrsBar->Progress();
|
||||
|
Reference in New Issue
Block a user