cid#1607205 Overflowed constant

Change-Id: Ic70c6f866a78ee01947415fe2f4af9508490e351
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174152
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
This commit is contained in:
Noel Grandin 2024-09-28 20:12:42 +02:00 committed by Noel Grandin
parent 4cc532c039
commit df389675fc

View file

@ -397,7 +397,7 @@ void ScDocument::FillInfo(
{
//TODO: check Conditionals also for HasAttrFlags::Rotate ????
OSL_ENSURE( nArrCount>2, "nArrCount too small" );
assert( nArrCount>2 && "nArrCount too small" );
FindMaxRotCol( nTab, &pRowInfo[1], nArrCount-1, nCol1, nCol2 );
// FindMaxRotCol sets nRotMaxCol