[Libreoffice-commits] .: sc/inc

Kohei Yoshida kohei at kemper.freedesktop.org
Tue Nov 16 12:53:06 PST 2010


 sc/inc/address.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a81fa027600d8fd7d16abae1529abd25137c63aa
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Tue Nov 16 15:51:30 2010 -0500

    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.

diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index f7a4e64..311a6ac 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;


More information about the Libreoffice-commits mailing list