summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-01-08 02:39:53 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-01-08 04:22:56 +0100
commite2222714bccd83df43a98963e26a85b9d5e28a6c (patch)
treea9bbcc1b013a09cdb8a2edbcbd5681a651748071 /sc
parentbc6b37c0e7e3fff9b8875fef6d4f95f101e88f95 (diff)
limit the number of sheets again to 10000
Our 32bit builds have problems to generate more sheets and crash with a std::bad_alloc Increase this limit again as soon as we can handle std::bad_alloc
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/address.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 761158d80f88..64f56c746cfa 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -88,7 +88,8 @@ const SCSIZE SCSIZE_MAX = ::std::numeric_limits<SCSIZE>::max();
// Count values
const SCROW MAXROWCOUNT = MAXROWCOUNT_DEFINE;
const SCCOL MAXCOLCOUNT = MAXCOLCOUNT_DEFINE;
-const SCTAB MAXTABCOUNT = 32000;
+// limiting to 10000 for now, problem with 32 bit builds for now
+const SCTAB MAXTABCOUNT = 10000;
const SCCOLROW MAXCOLROWCOUNT = MAXROWCOUNT;
// Maximum values
const SCROW MAXROW = MAXROWCOUNT - 1;