ooo-build r11403 - in branches/sled-10-ooo-build-2-3: . patches/src680



Author: tml
Date: Thu Jan 24 15:28:51 2008
New Revision: 11403
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11403&view=rev

Log:
2008-01-24  Tor Lillqvist  <tml novell com>

	* patches/src680/sc-xclimpchangetrack-discard-bogus-formula-size.diff: 
	New patch. A better (?) way to fix n#355304, by discarding the
	formula with bogus size from the version log.

	* patches/src680/apply: Add it to Fixes. Drop
	sc-excform8-wntmsci-miscompilation.diff



Added:
   branches/sled-10-ooo-build-2-3/patches/src680/sc-xclimpchangetrack-discard-bogus-formula-size.diff
Modified:
   branches/sled-10-ooo-build-2-3/ChangeLog
   branches/sled-10-ooo-build-2-3/patches/src680/apply

Modified: branches/sled-10-ooo-build-2-3/patches/src680/apply
==============================================================================
--- branches/sled-10-ooo-build-2-3/patches/src680/apply	(original)
+++ branches/sled-10-ooo-build-2-3/patches/src680/apply	Thu Jan 24 15:28:51 2008
@@ -1933,4 +1933,4 @@
 
 [ Fixes ]
 xmloff-input-field-reference.diff, n#346189, flr
-sc-excform8-wntmsci-miscompilation.diff, n#355304, tml
+sc-xclimpchangetrack-discard-bogus-formula-size.diff, n#355304, tml

Added: branches/sled-10-ooo-build-2-3/patches/src680/sc-xclimpchangetrack-discard-bogus-formula-size.diff
==============================================================================
--- (empty file)
+++ branches/sled-10-ooo-build-2-3/patches/src680/sc-xclimpchangetrack-discard-bogus-formula-size.diff	Thu Jan 24 15:28:51 2008
@@ -0,0 +1,11 @@
+--- sc/source/filter/xcl97/XclImpChangeTrack.cxx
++++ sc/source/filter/xcl97/XclImpChangeTrack.cxx
+@@ -225,6 +225,8 @@
+ 	SvMemoryStream aMemStrm;
+ 	aMemStrm << (sal_uInt16) 0x0001 << nFmlSize;
+     pStrm->CopyToStream( aMemStrm, nFmlSize );
++	if (nFmlSize == 0xFCFF)
++		return;
+     XclImpStream aFmlaStrm( aMemStrm, GetRoot() );
+ 	aFmlaStrm.StartNextRecord();
+     XclImpChTrFmlConverter aFmlConv( GetRoot(), *this );



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