ooo-build r11712 - in trunk: . patches/src680



Author: jonp
Date: Tue Feb 26 23:41:29 2008
New Revision: 11712
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11712&view=rev

Log:
	* patches/src680/sc-no-apply-pattern-for-cursor.diff: Added; don't apply
	  font/etc. patterns when we're only moving the cursor.
	* patches/src680/apply: Add sc-no-apply-pattern-for-cursor.diff.


Added:
   trunk/patches/src680/sc-no-apply-pattern-for-cursor.diff
Modified:
   trunk/ChangeLog
   trunk/patches/src680/apply

Modified: trunk/patches/src680/apply
==============================================================================
--- trunk/patches/src680/apply	(original)
+++ trunk/patches/src680/apply	Tue Feb 26 23:41:29 2008
@@ -706,6 +706,10 @@
 # Allow 'june-2007' to be properly parsed as June 1 2007 in en-US locales.
 sc-date-fix.diff, n#358750, jonp
 
+# For multi-line cell contents, bolding the first line shouldn't bold the
+# entire cell.
+sc-no-apply-pattern-for-cursor.diff, n#35690, jonp
+
 [ CalcFixes < ooh680-m4 ]
 # Add named range support for INDIRECT and INDIRECT_XL
 sc-indirect-named-range.diff, i#4695, n#274387, kohei

Added: trunk/patches/src680/sc-no-apply-pattern-for-cursor.diff
==============================================================================
--- (empty file)
+++ trunk/patches/src680/sc-no-apply-pattern-for-cursor.diff	Tue Feb 26 23:41:29 2008
@@ -0,0 +1,17 @@
+Index: sc/source/ui/view/viewfunc.cxx
+===================================================================
+RCS file: /cvs/sc/sc/source/ui/view/viewfunc.cxx,v
+retrieving revision 1.38
+diff -u -p -r1.38 viewfunc.cxx
+--- sc/source/ui/view/viewfunc.cxx	2 Oct 2007 15:22:22 -0000	1.38
++++ sc/source/ui/view/viewfunc.cxx	26 Feb 2008 23:17:48 -0000
+@@ -1334,7 +1334,8 @@ void ScViewFunc::ApplySelectionPattern( 
+ 		SCTAB nTab = pViewData->GetTabNo();
+ 		ScPatternAttr* pOldPat = new ScPatternAttr(*pDoc->GetPattern( nCol, nRow, nTab ));
+ 
+-		pDoc->ApplyPattern( nCol, nRow, nTab, rAttr );
++		if (!bCursorOnly)
++			pDoc->ApplyPattern( nCol, nRow, nTab, rAttr );
+ 
+ 		const ScPatternAttr* pNewPat = pDoc->GetPattern( nCol, nRow, nTab );
+ 



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