[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/koffice-ko
From:       Carlos Licea <carlos_licea () hotmail ! com>
Date:       2010-04-17 9:27:02
Message-ID: 20100417092702.2FD94AC89C () svn ! kde ! org
[Download RAW message or body]

SVN commit 1115721 by clicea:

Increse the max number of rows to 65536.

 M  +1 -1      filters/kspread/excel/sidewinder/utils.h  
 M  +2 -2      kspread/Cell.cpp  
 M  +1 -1      kspread/Global.h  


--- branches/work/koffice-ko/filters/kspread/excel/sidewinder/utils.h \
#1115720:1115721 @@ -38,7 +38,7 @@
 // The maximal number of rows and columns. This allows us to cut rows and columns \
away that would  // not be handled by the consumer application anyway cause they \
reached the applications limited.  static const uint maximalColumnCount = 32768;
-static const uint maximalRowCount = 32768; //65536
+static const uint maximalRowCount = 65536;
 
 class Workbook;
 
--- branches/work/koffice-ko/kspread/Cell.cpp #1115720:1115721
@@ -104,8 +104,8 @@
     Private() : sheet(0), column(0), row(0) {}
 
     Sheet*  sheet;
-uint    column  : 16; // KS_colMax
-uint    row     : 16; // KS_rowMax
+uint    column  : 17; // KS_colMax
+uint    row     : 17; // KS_rowMax
 };
 
 
--- branches/work/koffice-ko/kspread/Global.h #1115720:1115721
@@ -36,7 +36,7 @@
 #include <QTime>
 
 /* Definition of maximal supported rows - please check kspread_util (columnName) and \
                kspread_cluster also */
-#define KS_rowMax 0x7FFF
+#define KS_rowMax 0x10000
 /* Definition of maximal supported columns - please check kspread_util (columnName) \
and kspread_cluster also */  #define KS_colMax 0x7FFF
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic