ooo-build r15593 - in branches/opensuse-11-1: . patches/dev300
- From: kyoshida svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r15593 - in branches/opensuse-11-1: . patches/dev300
- Date: Fri, 20 Mar 2009 16:10:19 +0000 (UTC)
Author: kyoshida
Date: Fri Mar 20 16:10:19 2009
New Revision: 15593
URL: http://svn.gnome.org/viewvc/ooo-build?rev=15593&view=rev
Log:
2009-03-20 Kohei Yoshida <kyoshida novell com>
* patches/dev300/chart-odf-export-correct-syntax.diff:
* patches/dev300/apply: fixed ods export failure when the formula
syntax was set to either Excel A1 or R1C1. Chart's data range was
not converted to Calc A1 format upon document save, because the range
separator was still hard-coded to ';' (ugh!), causing the range parsing
to fail. (n#487262)
Added:
branches/opensuse-11-1/patches/dev300/chart-odf-export-correct-syntax.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 Fri Mar 20 16:10:19 2009
@@ -797,6 +797,7 @@
# always store ranges in ODF using Calc A1 formula syntax.
chart-odf-always-calc-a1.diff, n#463305, kohei
+chart-odf-export-correct-syntax.diff, n#487262, kohei
# fixed change track export to xls files wrt cell change records.
calc-change-track-xls-export-fix.diff, n#416045, i#93839, kohei
Added: branches/opensuse-11-1/patches/dev300/chart-odf-export-correct-syntax.diff
==============================================================================
--- (empty file)
+++ branches/opensuse-11-1/patches/dev300/chart-odf-export-correct-syntax.diff Fri Mar 20 16:10:19 2009
@@ -0,0 +1,22 @@
+diff --git sc/source/ui/unoobj/chart2uno.cxx sc/source/ui/unoobj/chart2uno.cxx
+index 62597a1..a57a500 100644
+--- sc/source/ui/unoobj/chart2uno.cxx
++++ sc/source/ui/unoobj/chart2uno.cxx
+@@ -44,6 +44,7 @@
+ #include "hints.hxx"
+ #include "unoreflist.hxx"
+ #include "chartlis.hxx"
++#include "compiler.hxx"
+
+ #include <sfx2/objsh.hxx>
+
+@@ -1042,7 +1043,8 @@ rtl::OUString SAL_CALL ScChart2DataProvider::convertRangeToXML( const rtl::OUStr
+ if( m_pDocument )
+ {
+ ScRangeList aList;
+- if( !ScRangeStringConverter::GetRangeListFromString(aList, sRangeRepresentation, m_pDocument, m_pDocument->GetAddressConvention(), ';'))
++ sal_Unicode sep = ScCompiler::GetNativeSymbol(ocSep).GetChar(0);
++ if( !ScRangeStringConverter::GetRangeListFromString(aList, sRangeRepresentation, m_pDocument, m_pDocument->GetAddressConvention(), sep))
+ throw lang::IllegalArgumentException();
+ ScRangeStringConverter::GetStringFromRangeList(sRet, &aList, m_pDocument, ScAddress::CONV_OOO);
+ }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]