ooo-build r15435 - in trunk: . patches/dev300



Author: kyoshida
Date: Mon Mar  2 22:52:28 2009
New Revision: 15435
URL: http://svn.gnome.org/viewvc/ooo-build?rev=15435&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:
   trunk/patches/dev300/calc-named-range-excel-syntax-fix.diff
Modified:
   trunk/ChangeLog
   trunk/patches/dev300/apply

Modified: trunk/patches/dev300/apply
==============================================================================
--- trunk/patches/dev300/apply	(original)
+++ trunk/patches/dev300/apply	Mon Mar  2 22:52:28 2009
@@ -1980,6 +1980,9 @@
 calc-enhanced-merge-cells-sc.diff,        n#213205, i#67243, jholesov/kohei
 calc-enhanced-merge-cells-officecfg.diff, n#213205, i#67243, jholesov/kohei
 
+[ CalcFixes ]
+calc-named-range-excel-syntax-fix.diff, n#481200, kohei
+
 [ CalcRowLimit ]
 # The work to increase Calc's row size limit, and any work associated with it.
 SectionOwner => kohei

Added: trunk/patches/dev300/calc-named-range-excel-syntax-fix.diff
==============================================================================
--- (empty file)
+++ trunk/patches/dev300/calc-named-range-excel-syntax-fix.diff	Mon Mar  2 22:52:28 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]