From df389675fc1e6c4f620b6769cc70c9c3b794175a Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sat, 28 Sep 2024 20:12:42 +0200 Subject: [PATCH] cid#1607205 Overflowed constant Change-Id: Ic70c6f866a78ee01947415fe2f4af9508490e351 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174152 Reviewed-by: Noel Grandin Tested-by: Jenkins --- sc/source/core/data/fillinfo.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx index 7afa00b86543..d3739b2878ef 100644 --- a/sc/source/core/data/fillinfo.cxx +++ b/sc/source/core/data/fillinfo.cxx @@ -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