summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2010-11-16 15:51:30 -0500
committerKohei Yoshida <kyoshida@novell.com>2010-11-16 15:51:30 -0500
commita1a1c816de870bea49318a2dc3cef683394ff002 (patch)
tree35e2b5776884796bb250081eb903c645dc22a264 /sc/inc
parente26260a97f26377371c9e663854bbb87a352679f (diff)
Let's match Excel's sheet limit which is 1024.
Let's up the sheet limit from 512 to 1024, to match Excel's limit. We'll deal with any performance issues associated with this as they get discovered.
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/address.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 70076b7bd247..23e2bee184ad 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -92,7 +92,7 @@ const SCSIZE SCSIZE_MAX = ::std::numeric_limits<SCSIZE>::max();
// Count values
const SCROW MAXROWCOUNT = MAXROWCOUNT_DEFINE;
const SCCOL MAXCOLCOUNT = MAXCOLCOUNT_DEFINE;
-const SCTAB MAXTABCOUNT = 512;
+const SCTAB MAXTABCOUNT = 1024;
const SCCOLROW MAXCOLROWCOUNT = MAXROWCOUNT;
// Maximum values
const SCROW MAXROW = MAXROWCOUNT - 1;