[Libreoffice-commits] core.git: 2 commits - sc/inc

Tor Lillqvist tml at collabora.com
Mon Mar 9 14:50:21 PDT 2015


 sc/inc/address.hxx |   12 ------------
 1 file changed, 12 deletions(-)

New commits:
commit d44168795aed842d524e3a349962f2b98a8ac504
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Mar 9 23:48:29 2015 +0200

    SCROWS64K is not used anywhere

diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index 493af4a..ecb5110 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -84,8 +84,6 @@ const SCROW SCROWS32K         = 32000;
 const SCCOL SCCOL_REPEAT_NONE = SCCOL_MAX;
 const SCROW SCROW_REPEAT_NONE = SCROW_MAX;
 
-const SCROW SCROWS64K = 65536;
-
 #define MAXROW_30   8191
 
 SAL_WARN_UNUSED_RESULT inline bool ValidCol( SCCOL nCol )
commit 33d00afddc66252fe9961d5396545e5f5a660700
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Mar 9 23:47:55 2015 +0200

    SC_ROWLIMIT_MORE_THAN_64K is not used anywhere

diff --git a/sc/inc/address.hxx b/sc/inc/address.hxx
index cbaccc1..493af4a 100644
--- a/sc/inc/address.hxx
+++ b/sc/inc/address.hxx
@@ -84,16 +84,6 @@ const SCROW SCROWS32K         = 32000;
 const SCCOL SCCOL_REPEAT_NONE = SCCOL_MAX;
 const SCROW SCROW_REPEAT_NONE = SCROW_MAX;
 
-// For future reference, place in code where more than 64k rows would need a
-// special handling:
-// #if SC_ROWLIMIT_MORE_THAN_64K
-// #error row limit 64k
-// #endif
-#if MAXROWCOUNT_DEFINE > 65536
-#define SC_ROWLIMIT_MORE_THAN_64K 1
-#else
-#define SC_ROWLIMIT_MORE_THAN_64K 0
-#endif
 const SCROW SCROWS64K = 65536;
 
 #define MAXROW_30   8191


More information about the Libreoffice-commits mailing list