ooo-build r11219 - trunk/patches/src680



Author: jonp
Date: Tue Jan  8 13:15:11 2008
New Revision: 11219
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11219&view=rev

Log:
	* patches/src680/sc-print-lines.diff: Added; support Page Preview and 
	  Printing of documents containing only cell border changes.


Added:
   trunk/patches/src680/sc-print-lines.diff

Added: trunk/patches/src680/sc-print-lines.diff
==============================================================================
--- (empty file)
+++ trunk/patches/src680/sc-print-lines.diff	Tue Jan  8 13:15:11 2008
@@ -0,0 +1,18 @@
+Index: sc/source/core/data/column2.cxx
+===================================================================
+RCS file: /cvs/sc/sc/source/core/data/column2.cxx,v
+retrieving revision 1.29
+diff -u -p -r1.29 column2.cxx
+--- sc/source/core/data/column2.cxx	10 May 2007 16:43:22 -0000	1.29
++++ sc/source/core/data/column2.cxx	8 Jan 2008 10:43:24 -0000
+@@ -1803,6 +1803,10 @@ BOOL ScColumn::IsEmpty() const
+ 
+ BOOL ScColumn::IsEmptyBlock(SCROW nStartRow, SCROW nEndRow) const
+ {
++	Rectangle aRect;
++	if (pAttrArray->HasLines(nStartRow, nEndRow, aRect, TRUE, TRUE))
++		return FALSE;
++
+ 	if ( nCount == 0 || !pItems )
+ 		return TRUE;
+ 



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