diff options
author | Aron Budea <aron.budea@collabora.com> | 2020-08-15 17:55:15 +0200 |
---|---|---|
committer | Aron Budea <aron.budea@collabora.com> | 2020-08-15 19:30:48 +0200 |
commit | 8f53858381e0cd6a3391c4ce8a097cdafa9c8df0 (patch) | |
tree | 296fafcdc8e6b806fc403555bfd2ca736aa08d71 /sc | |
parent | 486f12ecfcc22de5465a4850d3fc61499ba92ea7 (diff) |
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>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/address.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx index 2ff4d362ed07..19077f4653bf 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, |