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



Author: kyoshida
Date: Mon Mar  2 23:00:17 2009
New Revision: 15436
URL: http://svn.gnome.org/viewvc/ooo-build?rev=15436&view=rev

Log:
2009-03-02  Kohei Yoshida  <kyoshida novell com>

	* patches/dev300/calc-named-range-excel-syntax-fix.diff:
	* patches/dev300/apply: fixed incorrect named range storage when the 
	formula syntax is set to either Excel A1 or R1C1.  This affects when 
	the users define a new named range via the named range input box.  Names
	defined in the dialog are not affected. (n#481200)


Added:
   branches/ooo-build-3-0-1/patches/dev300/calc-named-range-excel-syntax-fix.diff
Modified:
   branches/ooo-build-3-0-1/ChangeLog
   branches/ooo-build-3-0-1/patches/dev300/apply

Modified: branches/ooo-build-3-0-1/patches/dev300/apply
==============================================================================
--- branches/ooo-build-3-0-1/patches/dev300/apply	(original)
+++ branches/ooo-build-3-0-1/patches/dev300/apply	Mon Mar  2 23:00:17 2009
@@ -839,6 +839,7 @@
 # Pivot cache field import fix.
 calc-dp-pivotcache-fix.diff, n#433658, i#96326, kohei
 
+calc-named-range-excel-syntax-fix.diff, n#481200, kohei
 
 [ LinuxOnly ]
 # accelerate linking, by extreme cunning i#63927

Added: branches/ooo-build-3-0-1/patches/dev300/calc-named-range-excel-syntax-fix.diff
==============================================================================
--- (empty file)
+++ branches/ooo-build-3-0-1/patches/dev300/calc-named-range-excel-syntax-fix.diff	Mon Mar  2 23:00:17 2009
@@ -0,0 +1,13 @@
+diff --git sc/source/ui/app/inputwin.cxx sc/source/ui/app/inputwin.cxx
+index 580e3be..5273634 100644
+--- sc/source/ui/app/inputwin.cxx
++++ sc/source/ui/app/inputwin.cxx
+@@ -1699,7 +1699,7 @@ void ScPosWnd::DoEnter()
+                         ScRangeName aNewRanges( *pNames );
+                         ScAddress aCursor( pViewData->GetCurX(), pViewData->GetCurY(), pViewData->GetTabNo() );
+                         String aContent;
+-                        aSelection.Format( aContent, SCR_ABS_3D, pDoc );
++                        aSelection.Format( aContent, SCR_ABS_3D, pDoc, pDoc->GetAddressConvention() );
+                         ScRangeData* pNew = new ScRangeData( pDoc, aText, aContent, aCursor );
+                         if ( aNewRanges.Insert(pNew) )
+                         {



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