ooo-build r14874 - in trunk: . patches/dev300



Author: kyoshida
Date: Tue Dec 16 18:30:01 2008
New Revision: 14874
URL: http://svn.gnome.org/viewvc/ooo-build?rev=14874&view=rev

Log:
2008-12-16  Kohei Yoshida  <kyoshida novell com>

	* patches/dev300/calc-increase-row-limit.diff: increase the row size 
	limit to 1048576 to match Excel 2007's.  The purpose of this is to
	identify the potential problems associated with the row size increase.
	So far only enabled for Novell-related builds. (n#443634, i#30215)

	* patches/dev300/apply: create a new section [ CalcRowLimit ] and apply
	this patch therein.


Added:
   trunk/patches/dev300/calc-increase-row-limit.diff
Modified:
   trunk/ChangeLog
   trunk/patches/dev300/apply

Modified: trunk/patches/dev300/apply
==============================================================================
--- trunk/patches/dev300/apply	(original)
+++ trunk/patches/dev300/apply	Tue Dec 16 18:30:01 2008
@@ -54,7 +54,7 @@
 # Novell
 NovellBase : LinuxCommon, NovellOnly, NovellOnlyUnix, \
 	     NotDebian, Lockdown, Split, Shrink, \
-	     CustomUserConfig, CalcSolver
+	     CustomUserConfig, CalcSolver, CalcRowLimit
 SUSE-9.1  : NovellBase
 SUSE-9.2  : NovellBase
 SUSE-9.3  : NovellBase
@@ -117,7 +117,8 @@
 # translate.org.za
 translate-org-za-linux: translate-org-za-common, LinuxCommon, Common, Lockdown
 translate-org-za-win32: translate-org-za-common, Win32Common, Common
-NovellLikeWin32: Win32Common, NovellOnly, NovellOnlyWin32, Lockdown, Fpickers, CustomUserConfig, CalcSolver, DejaVuFonts, IntegrateExtensions
+NovellLikeWin32: Win32Common, NovellOnly, NovellOnlyWin32, Lockdown, Fpickers, \
+	CustomUserConfig, CalcSolver, CalcRowLimit, DejaVuFonts, IntegrateExtensions
 # Novell
 NovellWin32: NovellLikeWin32
 NovellWin32ISO: NovellLikeWin32
@@ -1889,6 +1890,13 @@
 calc-grammar-xls-english-offapi.diff, kohei
 calc-grammar-xls-english-sc.diff, kohei
 
+[ CalcRowLimit ]
+# The work to increase Calc's row size limit, and any work associated with it.
+SectionOwner => kohei
+
+# increase the row limit and make the row header a little wider.
+calc-increase-row-limit.diff, n#443634, i#30215, kohei
+
 [ CalcSolver ]
 SectionOwner => kohei
 

Added: trunk/patches/dev300/calc-increase-row-limit.diff
==============================================================================
--- (empty file)
+++ trunk/patches/dev300/calc-increase-row-limit.diff	Tue Dec 16 18:30:01 2008
@@ -0,0 +1,26 @@
+diff --git sc/inc/address.hxx sc/inc/address.hxx
+index 76f0d42..af36690 100644
+--- sc/inc/address.hxx
++++ sc/inc/address.hxx
+@@ -86,7 +86,7 @@ const SCSIZE   SCSIZE_MAX   = ::std::numeric_limits<SCSIZE>::max();
+ 
+ // The maximum values. Defines are needed for preprocessor checks in
+ // bcaslot.cxx, otherwise type safe constants are preferred.
+-#define MAXROWCOUNT_DEFINE 65536
++#define MAXROWCOUNT_DEFINE 1048576
+ #define MAXCOLCOUNT_DEFINE 1024
+ 
+ // Count values
+diff --git sc/source/ui/view/hdrcont.cxx sc/source/ui/view/hdrcont.cxx
+index 3160bee..be36c2b 100644
+--- sc/source/ui/view/hdrcont.cxx
++++ sc/source/ui/view/hdrcont.cxx
+@@ -104,7 +104,7 @@ ScHeaderControl::ScHeaderControl( Window* pParent, SelectionEngine* pSelectionEn
+ 
+ 	nWidth = nSmallWidth = aSize.Width();
+ 	nBigWidth = LogicToPixel( Size( GetTextWidth(
+-		String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("88888")) ), 0 ) ).Width() + 4;
++		String::CreateFromAscii(RTL_CONSTASCII_STRINGPARAM("8888888")) ), 0 ) ).Width() + 5;
+ 
+ 	SetBackground();	// sonst Probleme auf OS/2 !?!?!
+ }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]