diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-01-19 21:02:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-22 16:08:05 +0100 |
commit | 8a728ac6cf7d8d032eb93f486618458b7814d42b (patch) | |
tree | d20de8154c46e5208f0405093c0e9b41889b8a23 /chart2/source/inc/AxisHelper.hxx | |
parent | fe9f6ac055ec95d06d9e28ee4d9871cc366ac540 (diff) |
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/inc/AxisHelper.hxx')
-rw-r--r-- | chart2/source/inc/AxisHelper.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chart2/source/inc/AxisHelper.hxx b/chart2/source/inc/AxisHelper.hxx index abe9ee1e257e..788ba4cf5f79 100644 --- a/chart2/source/inc/AxisHelper.hxx +++ b/chart2/source/inc/AxisHelper.hxx @@ -39,6 +39,7 @@ namespace com::sun::star::uno { class XComponentContext; } namespace chart { class BaseCoordinateSystem; +class ChartType; class OOO_DLLPUBLIC_CHARTTOOLS AxisHelper { @@ -191,13 +192,13 @@ public: static bool isSecondaryYAxisNeeded( const css::uno::Reference< css::chart2::XCoordinateSystem >& xCooSys ); - static css::uno::Reference< css::chart2::XChartType > + static rtl::Reference< ::chart::ChartType > getChartTypeByIndex( const css::uno::Reference< css::chart2::XCoordinateSystem >& xCooSys, sal_Int32 nIndex ); static void setRTLAxisLayout( const css::uno::Reference< css::chart2::XCoordinateSystem >& xCooSys ); - static css::uno::Reference< css::chart2::XChartType > + static rtl::Reference< ::chart::ChartType > getFirstChartTypeWithSeriesAttachedToAxisIndex( const css::uno::Reference< css::chart2::XDiagram >& xDiagram, const sal_Int32 nAttachedAxisIndex ); static bool isAxisPositioningEnabled(); |