diff options
Diffstat (limited to 'patches/dev300/chart-odf-export-correct-syntax.diff')
-rw-r--r-- | patches/dev300/chart-odf-export-correct-syntax.diff | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/patches/dev300/chart-odf-export-correct-syntax.diff b/patches/dev300/chart-odf-export-correct-syntax.diff new file mode 100644 index 000000000..16cf3c669 --- /dev/null +++ b/patches/dev300/chart-odf-export-correct-syntax.diff @@ -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); + } |