summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-03-08 12:44:49 +0100
committerLuboš Luňák <l.lunak@collabora.com>2022-05-19 06:53:04 +0200
commitfe4606e7f4b44aeebb4ba2b4840f7ac873635d02 (patch)
tree4434ddf703863ca47e5779b2a8352a58bad9644c /sc
parent890493c3dc058ddedf9d6629abf178f7898c7342 (diff)
change default Calc number of columns to 16384 (tdf#50916)
All tests pass now, and I've also handled all significant bugreports from tdf#133764. This commit is mainly meant to test this more in practice and collect feedback. Depending on how this turns out, there may be a backwards compatibility option or something similar, but so far I see no significant need for it. Change-Id: I1a946f4e0b51be5acf4e25dc773e7694c2b17b48 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131180 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131959 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/address.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index a7e05ad6567c..ea197c5b95aa 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -60,7 +60,7 @@ const SCSIZE SCSIZE_MAX = ::std::numeric_limits<SCSIZE>::max();
// Count values
const SCROW MAXROWCOUNT = 1048576;
-const SCCOL MAXCOLCOUNT = 1024;
+const SCCOL MAXCOLCOUNT = 16384;
const SCCOL INITIALCOLCOUNT = 64; // initial number of columns we allocate memory for
/// limiting to 10000 for now, problem with 32 bit builds for now
const SCTAB MAXTABCOUNT = 10000;
@@ -82,7 +82,7 @@ const SCTAB MAXINITTAB = 1024;
const SCTAB MININITTAB = 1;
inline constexpr OUStringLiteral MAXROW_STRING(u"1048575");
-inline constexpr OUStringLiteral MAXCOL_STRING(u"AMJ");
+inline constexpr OUStringLiteral MAXCOL_STRING(u"XFD");
inline constexpr OUStringLiteral MAXROW_JUMBO_STRING(u"16777215");
inline constexpr OUStringLiteral MAXCOL_JUMBO_STRING(u"XFD");