summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-03-16 01:04:44 +0100
committerPetr Mladek <pmladek@suse.cz>2013-03-25 13:21:35 +0000
commit796f2b73b81c90f7e50fa0889632e41e88c229a0 (patch)
tree61ca4e8de1b2fc4fcc01b1ccdc7e7eea7d211b30
parentf77648ec136e42369dfd4351d8302dc06701d125 (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> (cherry picked from commit 4bdfeabe6e65f865d5cec16b31cda524eb8b9b90) Reviewed-on: https://gerrit.libreoffice.org/2982 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
-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 ));