diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-01-08 02:39:53 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-01-08 04:19:12 +0100 |
commit | 7922d1d8b65fa18822eaba8d38460d76c1e7a2c8 (patch) | |
tree | 2684c3050f223ed401410dd28ecf63fb970a35c4 /sc | |
parent | 08708fcc39f300c477aad581e5bdc42e5931dd8c (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.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx index c3eb51ca9541..6c453115c02c 100644 --- a/sc/inc/address.hxx +++ b/sc/inc/address.hxx @@ -87,7 +87,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; |