summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-16 01:04:44 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-18 02:30:15 +0100
commita6d12acda9bb24f2acca45e0bd1aea577e49fbbf (patch)
tree86d8ef0799b90666b09e0ea96c68131c448744ef
parent145ca863553e27e28f76e940071e713c539db0dd (diff)
use the right range representation, fdo#52159
Change-Id: I36ede89ccb8836708a4f87c4815bbe2fb6d6f3cf
-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 463308ac9f80..9d3c47424f3d 100644
--- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx
+++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
@@ -957,7 +957,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());
@@ -966,7 +966,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 ));