coverity#706052 Unintended sign extension
Change-Id: I5e9b8a8809f9736038f20493d1a24bbbd8846dbd
This commit is contained in:
parent
9947032c4c
commit
32294e11a0
@ -3012,7 +3012,7 @@ void SdPage::CalculateHandoutAreas( SdDrawDocument& rModel, AutoLayout eLayout,
|
||||
break;
|
||||
}
|
||||
|
||||
rAreas.resize( nColCnt * nRowCnt );
|
||||
rAreas.resize(static_cast<size_t>(nColCnt) * nRowCnt);
|
||||
|
||||
Size aPartArea, aSize;
|
||||
aPartArea.Width() = ((aArea.Width() - ((nColCnt-1) * nGapW) ) / nColCnt);
|
||||
|
Loading…
x
Reference in New Issue
Block a user