summaryrefslogtreecommitdiff
path: root/chart2/source/tools/DataSeriesHelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-01-25 21:09:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-26 07:18:01 +0100
commitea00a6ce3b5e15ac2640983cfaaf11755d233644 (patch)
treee7243de5202e38bdd2618071dcb69c0b6946bb2f /chart2/source/tools/DataSeriesHelper.cxx
parentf4dd0dfd27201152b1e39c35302e1ca9c6ce12b6 (diff)
use more concrete types in chart2, Diagram
Change-Id: I8640175f493d89bea7eb4780b4cbebf7d0b74a94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128945 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/tools/DataSeriesHelper.cxx')
-rw-r--r--chart2/source/tools/DataSeriesHelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/DataSeriesHelper.cxx b/chart2/source/tools/DataSeriesHelper.cxx
index fefccb4bbf38..a4b626830d1e 100644
--- a/chart2/source/tools/DataSeriesHelper.cxx
+++ b/chart2/source/tools/DataSeriesHelper.cxx
@@ -484,7 +484,7 @@ sal_Int32 getNumberFormatKeyFromAxis(
rtl::Reference< ::chart::BaseCoordinateSystem > getCoordinateSystemOfSeries(
const Reference< chart2::XDataSeries > & xSeries,
- const Reference< chart2::XDiagram > & xDiagram )
+ const rtl::Reference< Diagram > & xDiagram )
{
rtl::Reference< ::chart::BaseCoordinateSystem > xResult;
rtl::Reference< ::chart::ChartType > xDummy;
@@ -495,7 +495,7 @@ rtl::Reference< ::chart::BaseCoordinateSystem > getCoordinateSystemOfSeries(
rtl::Reference< ::chart::ChartType > getChartTypeOfSeries(
const Reference< chart2::XDataSeries > & xSeries,
- const Reference< chart2::XDiagram > & xDiagram )
+ const rtl::Reference< Diagram > & xDiagram )
{
rtl::Reference< ::chart::ChartType > xResult;
rtl::Reference< ::chart::BaseCoordinateSystem > xDummy;