summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/itemsetwrapper/TextLabelItemConverter.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-01-19 21:02:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-22 16:08:05 +0100
commit8a728ac6cf7d8d032eb93f486618458b7814d42b (patch)
treed20de8154c46e5208f0405093c0e9b41889b8a23 /chart2/source/controller/itemsetwrapper/TextLabelItemConverter.cxx
parentMysql/MariaDB: Clean mysqlc_keys + remove using (diff)
downloadcore-8a728ac6cf7d8d032eb93f486618458b7814d42b.tar.gz
core-8a728ac6cf7d8d032eb93f486618458b7814d42b.zip
use more concrete types in chart2, ChartType
Change-Id: Ibd299e2e8d82169706d810af98c29d684809c320 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128741 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/controller/itemsetwrapper/TextLabelItemConverter.cxx')
-rw-r--r--chart2/source/controller/itemsetwrapper/TextLabelItemConverter.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/controller/itemsetwrapper/TextLabelItemConverter.cxx b/chart2/source/controller/itemsetwrapper/TextLabelItemConverter.cxx
index 36a0686e95f7..ea7e3b9c59fd 100644
--- a/chart2/source/controller/itemsetwrapper/TextLabelItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/TextLabelItemConverter.cxx
@@ -21,6 +21,7 @@
#include <CharacterPropertyItemConverter.hxx>
#include <ChartModel.hxx>
#include <ChartModelHelper.hxx>
+#include <ChartType.hxx>
#include <ChartTypeHelper.hxx>
#include <DataSeriesHelper.hxx>
#include <DiagramHelper.hxx>
@@ -210,7 +211,7 @@ TextLabelItemConverter::TextLabelItemConverter(
maConverters.emplace_back(new CharacterPropertyItemConverter(rPropertySet, rItemPool, pRefSize, "ReferencePageSize"));
rtl::Reference< Diagram > xDiagram(ChartModelHelper::findDiagram(xChartModel));
- uno::Reference<XChartType> xChartType(DiagramHelper::getChartTypeOfSeries(xDiagram, xSeries));
+ rtl::Reference< ChartType > xChartType(DiagramHelper::getChartTypeOfSeries(xDiagram, xSeries));
bool bFound = false;
bool bAmbiguous = false;
bool bSwapXAndY = DiagramHelper::getVertical(xDiagram, bFound, bAmbiguous);