ooo-build r15437 - in branches/opensuse-11-1: . patches/dev300



Author: kyoshida
Date: Mon Mar  2 23:06:47 2009
New Revision: 15437
URL: http://svn.gnome.org/viewvc/ooo-build?rev=15437&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/opensuse-11-1/patches/dev300/calc-named-range-excel-syntax-fix.diff
Modified:
   branches/opensuse-11-1/ChangeLog
   branches/opensuse-11-1/patches/dev300/apply

Modified: branches/opensuse-11-1/patches/dev300/apply
==============================================================================
--- branches/opensuse-11-1/patches/dev300/apply	(original)
+++ branches/opensuse-11-1/patches/dev300/apply	Mon Mar  2 23:06:47 2009
@@ -1805,6 +1805,8 @@
 # Additional fix for the external range name implementation.
 calc-external-defined-names-sc-fixes.diff, i#3740, i#4385, n#355685, kohei
 
+calc-named-range-excel-syntax-fix.diff, n#481200, kohei
+
 [ CalcSolver ]
 SectionOwner => kohei
 

Added: branches/opensuse-11-1/patches/dev300/calc-named-range-excel-syntax-fix.diff
==============================================================================
--- (empty file)
+++ branches/opensuse-11-1/patches/dev300/calc-named-range-excel-syntax-fix.diff	Mon Mar  2 23:06:47 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]