ooo-build r11948 - in branches/sled-10-sp1-ooo-build-2-4: . patches/src680



Author: kyoshida
Date: Wed Mar 19 14:53:19 2008
New Revision: 11948
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11948&view=rev

Log:
2008-03-19  Kohei Yoshida  <kyoshida novell com>

	* patches/src680/sc-fix-value-iterator.diff: avoid initializing the 
	value to 0 when iterating through values.  This causes certain iterative
	functions (such as MIN) to return wrong results (n#372255).

	* patches/src680/apply: apply the above patch.


Added:
   branches/sled-10-sp1-ooo-build-2-4/patches/src680/sc-fix-value-iterator.diff
Modified:
   branches/sled-10-sp1-ooo-build-2-4/ChangeLog

Added: branches/sled-10-sp1-ooo-build-2-4/patches/src680/sc-fix-value-iterator.diff
==============================================================================
--- (empty file)
+++ branches/sled-10-sp1-ooo-build-2-4/patches/src680/sc-fix-value-iterator.diff	Wed Mar 19 14:53:19 2008
@@ -0,0 +1,26 @@
+Index: sc/source/core/data/dociter.cxx
+===================================================================
+RCS file: /cvs/sc/sc/source/core/data/dociter.cxx,v
+retrieving revision 1.19
+retrieving revision 1.19.158.1
+diff -u -r1.19 -r1.19.158.1
+--- sc/source/core/data/dociter.cxx	27 Feb 2007 12:01:01 -0000	1.19
++++ sc/source/core/data/dociter.cxx	8 Jan 2008 22:19:49 -0000	1.19.158.1
+@@ -323,7 +323,7 @@
+ 					nTab++;
+ 					if ( nTab > nEndTab )
+ 					{
+-						rValue = 0.0;
++						// rValue = 0.0;    //! do not change caller's value!
+ 						rErr = 0;
+ 						return FALSE;				// Ende und Aus
+ 					}
+@@ -524,7 +524,7 @@
+ 				nCol++;
+ 				if ( nCol > aParam.nCol2 )
+ 				{
+-					rValue = 0.0;
++					// rValue = 0.0;    // do not change caller's value!
+ 					rErr = 0;
+ 					return FALSE;				// Ende und Aus
+ 				}



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