ooo-build r14146 - in branches/ooo-build-3-0: . patches/dev300



Author: kyoshida
Date: Tue Sep 30 00:17:07 2008
New Revision: 14146
URL: http://svn.gnome.org/viewvc/ooo-build?rev=14146&view=rev

Log:
2008-09-29  Kohei Yoshida  <kyoshida novell com>

	* patches/dev300/calc-dp-filtered-range-fix.diff: fixed a regression 
	where a data pilot table was not being created on a filtered range 
	(i#94281).

	* patches/dev300/apply: apply the new patch.


Added:
   branches/ooo-build-3-0/patches/dev300/calc-dp-filtered-range-fix.diff
Modified:
   branches/ooo-build-3-0/ChangeLog
   branches/ooo-build-3-0/patches/dev300/apply

Modified: branches/ooo-build-3-0/patches/dev300/apply
==============================================================================
--- branches/ooo-build-3-0/patches/dev300/apply	(original)
+++ branches/ooo-build-3-0/patches/dev300/apply	Tue Sep 30 00:17:07 2008
@@ -772,6 +772,9 @@
 # fixed chart wizard failure when the formula syntax is set to Excel A1/R1C1.
 chart-wizard-xls-address-convention-fix.diff, n#411450, kohei
 
+# fix regression that prevents data pilot from being created on a filtered range.
+calc-dp-filtered-range-fix.diff, i#94281, kohei
+
 [ CalcFixes < ooo300-m3 ]
 # Fix a regression on filtering by page field.
 calc-fix-datapilot-date-filter.diff, i#90022, kohei

Added: branches/ooo-build-3-0/patches/dev300/calc-dp-filtered-range-fix.diff
==============================================================================
--- (empty file)
+++ branches/ooo-build-3-0/patches/dev300/calc-dp-filtered-range-fix.diff	Tue Sep 30 00:17:07 2008
@@ -0,0 +1,14 @@
+diff --git sc/source/ui/view/cellsh2.cxx sc/source/ui/view/cellsh2.cxx
+index d2e5e61..554cdf9 100644
+--- sc/source/ui/view/cellsh2.cxx
++++ sc/source/ui/view/cellsh2.cxx
+@@ -737,7 +737,8 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
+ 						{
+ 							//!	use database ranges (select before type dialog?)
+ 							ScRange aRange;
+-							if ( GetViewData()->GetSimpleArea( aRange ) == SC_MARK_SIMPLE )
++                            ScMarkType eType = GetViewData()->GetSimpleArea(aRange);
++                            if ( (eType & SC_MARK_SIMPLE) == SC_MARK_SIMPLE )
+ 							{
+ 								BOOL bOK = TRUE;
+ 								if ( pDoc->HasSubTotalCells( aRange ) )



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