diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-01-26 21:04:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-28 09:04:55 +0100 |
commit | 00e28abcd33f7a52539cb0250b1cadcaf22f8f35 (patch) | |
tree | 6a82eb681dec8839e61c9494620a8f587ef230b0 /chart2/source/view/main | |
parent | 4abb554b164ae537a9854c40ab347d5cbfb125f5 (diff) |
use more concrete types in chart2, BaseCoordinateSystem
Change-Id: Ieb815775e069dd0d2cc36a2ab97b318e3b9f7a1b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129056
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/view/main')
-rw-r--r-- | chart2/source/view/main/ChartView.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx index e9a8995fb6e0..245181f6a90a 100644 --- a/chart2/source/view/main/ChartView.cxx +++ b/chart2/source/view/main/ChartView.cxx @@ -634,7 +634,7 @@ void SeriesPlotterContainer::initAxisUsageList(const Date& rNullDate) // there should only be one coordinate system per diagram). for (auto & pVCooSys : m_rVCooSysList) { - uno::Reference<XCoordinateSystem> xCooSys = pVCooSys->getModel(); + rtl::Reference<BaseCoordinateSystem> xCooSys = pVCooSys->getModel(); sal_Int32 nDimCount = xCooSys->getDimension(); bool bComplexCategoryAllowed = ChartTypeHelper::isSupportingComplexCategory(AxisHelper::getChartTypeByIndex(xCooSys, 0)); @@ -914,7 +914,7 @@ void SeriesPlotterContainer::AdaptScaleOfYAxisWithoutAttachedSeries( ChartModel& ExplicitScaleData aExplicitScale( aVCooSysList[nC]->getExplicitScale( nDimensionIndex, nAxisIndex ) ); ExplicitIncrementData aExplicitIncrement( aVCooSysList[nC]->getExplicitIncrement( nDimensionIndex, nAxisIndex ) ); - Reference< chart2::XCoordinateSystem > xCooSys( aVCooSysList[nC]->getModel() ); + rtl::Reference< BaseCoordinateSystem > xCooSys( aVCooSysList[nC]->getModel() ); Reference< XAxis > xAxis( xCooSys->getAxisByDimension( nDimensionIndex, nAxisIndex ) ); Reference< beans::XPropertySet > xCrossingMainAxis( AxisHelper::getCrossingMainAxis( xAxis, xCooSys ), uno::UNO_QUERY ); |