summaryrefslogtreecommitdiffstats
path: root/chart2/source/model/template/ChartTypeTemplate.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-02-02 18:58:46 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-02-04 12:22:31 +0100
commitf90ac900a9ff48c4ea8ae797972ed4c442b516fb (patch)
treeed5a9f28f4289238eeb69ad43029984d11370945 /chart2/source/model/template/ChartTypeTemplate.cxx
parentuse more concrete types in chart2, LabeledDataSequence (diff)
downloadcore-f90ac900a9ff48c4ea8ae797972ed4c442b516fb.tar.gz
core-f90ac900a9ff48c4ea8ae797972ed4c442b516fb.zip
use more concrete types in chart2, DataSource
Change-Id: If5001a8a8fc1103a8d662429d3077c7ce81cc2b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129457 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/model/template/ChartTypeTemplate.cxx')
-rw-r--r--chart2/source/model/template/ChartTypeTemplate.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/model/template/ChartTypeTemplate.cxx b/chart2/source/model/template/ChartTypeTemplate.cxx
index 0183907419ad..902c54ed6a89 100644
--- a/chart2/source/model/template/ChartTypeTemplate.cxx
+++ b/chart2/source/model/template/ChartTypeTemplate.cxx
@@ -23,6 +23,7 @@
#include <ChartTypeHelper.hxx>
#include <ChartType.hxx>
#include <DataSeries.hxx>
+#include <DataSource.hxx>
#include <AxisHelper.hxx>
#include <Diagram.hxx>
@@ -203,7 +204,7 @@ void ChartTypeTemplate::changeDiagram( const rtl::Reference< Diagram >& xDiagram
}
else
{
- Reference< data::XDataSource > xSource( xInterpreter->mergeInterpretedData( aData ));
+ rtl::Reference< DataSource > xSource( xInterpreter->mergeInterpretedData( aData ));
// todo: get a "range-union" from the data provider by calling
// OUString aRange = getRangeRepresentationByData( xSource );
// xSource.set( getDataByRangeRepresentation( aRange, aParam ));