tdf#133853 Large spreadsheets have 16385 columns instead of 16384
MAXROW_JUMBO/MAXCOL_JUMBO should be max - 1, similarly to
MAXROW/MAXCOL.
Since f6064b13586aa8681907b69e4f43643251f9b803.
Change-Id: I3d300e916b9584a2231f39bec5a044bd82c81752
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100777
Tested-by: Jenkins
Reviewed-by: Aron Budea <aron.budea@collabora.com>
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 2ff4d362..19077f4 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -70,8 +70,8 @@ const SCROW MAXROW = MAXROWCOUNT - 1;
const SCCOL MAXCOL = MAXCOLCOUNT - 1;
const SCTAB MAXTAB = MAXTABCOUNT - 1;
const SCCOLROW MAXCOLROW = MAXROW;
const SCROW MAXROW_JUMBO = 16 * 1000 * 1000;
const SCCOL MAXCOL_JUMBO = 16384;
const SCROW MAXROW_JUMBO = 16 * 1000 * 1000 - 1;
const SCCOL MAXCOL_JUMBO = 16384 - 1;
// Maximum tiled rendering values
const SCROW MAXTILEDROW = 500000;
// Limit the initial tab count to prevent users to set the count too high,