summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-16 01:04:44 +0100
committerFridrich Strba <fridrich@documentfoundation.org>2013-03-19 08:34:45 +0000
commit4bdfeabe6e65f865d5cec16b31cda524eb8b9b90 (patch)
treec6b514ba70fdf35fca9deb03734629159894eb08
parent6690e18c5f45e24d013bcccdc47a2d32a3b2f050 (diff)
use the right range representation, fdo#52159
Change-Id: I36ede89ccb8836708a4f87c4815bbe2fb6d6f3cf (cherry picked from commit a6d12acda9bb24f2acca45e0bd1aea577e49fbbf) Reviewed-on: https://gerrit.libreoffice.org/2818 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
-rw-r--r--xmloff/source/chart/SchXMLPlotAreaContext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
index 0b9b2055f1d9..0a3eca028046 100644
--- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx
+++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
@@ -956,7 +956,7 @@ void SchXMLStockContext::StartElement( const uno::Reference< xml::sax::XAttribut
static void lcl_setErrorBarSequence ( const uno::Reference< chart2::XChartDocument > &xDoc,
const uno::Reference< beans::XPropertySet > &xBarProp,
- const rtl::OUString &aRange,
+ const rtl::OUString &aXMLRange,
bool bPositiveValue, bool bYError )
{
uno::Reference< com::sun::star::chart2::data::XDataProvider > xDataProvider(xDoc->getDataProvider());
@@ -965,7 +965,7 @@ static void lcl_setErrorBarSequence ( const uno::Reference< chart2::XChartDocume
assert( xDataSink.is() && xDataSource.is() && xDataProvider.is() );
- rtl::OUString aXMLRange(lcl_ConvertRange(aRange,xDoc));
+ rtl::OUString aRange(lcl_ConvertRange(aXMLRange,xDoc));
uno::Reference< chart2::data::XDataSequence > xNewSequence(
xDataProvider->createDataSequenceByRangeRepresentation( aRange ));