sc/inc/address.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 8f53858381e0cd6a3391c4ce8a097cdafa9c8df0 Author: Aron Budea <aron.bu...@collabora.com> AuthorDate: Sat Aug 15 17:55:15 2020 +0200 Commit: Aron Budea <aron.bu...@collabora.com> CommitDate: Sat Aug 15 19:30:48 2020 +0200 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.bu...@collabora.com> 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, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits