diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-19 15:15:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-19 20:00:25 +0100 |
commit | 2064cdb1cd908a3ee55a54f0aeb4aee15f7c12da (patch) | |
tree | 8a038421eeb3e082f3b6a0092f67c15492dc35c8 /chart2/source/inc/AxisHelper.hxx | |
parent | b7313bc131a285056906f85b51b0c3b53b7b3560 (diff) |
use more concrete types in chart2, BaseCoordinateSystem
Change-Id: I1c246a3ea37595647ac254f492170a9e18540794
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128623
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 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chart2/source/inc/AxisHelper.hxx b/chart2/source/inc/AxisHelper.hxx index b16673f97fcb..abe9ee1e257e 100644 --- a/chart2/source/inc/AxisHelper.hxx +++ b/chart2/source/inc/AxisHelper.hxx @@ -20,6 +20,7 @@ #include "charttoolsdllapi.hxx" #include <com/sun/star/chart2/ScaleData.hpp> +#include <rtl/ref.hxx> #include <vector> @@ -37,6 +38,7 @@ namespace com::sun::star::uno { class XComponentContext; } namespace chart { +class BaseCoordinateSystem; class OOO_DLLPUBLIC_CHARTTOOLS AxisHelper { @@ -105,12 +107,12 @@ public: static bool isAxisVisible( const css::uno::Reference< css::chart2::XAxis >& xAxis ); static bool isGridVisible( const css::uno::Reference< css::beans::XPropertySet >& xGridProperties ); - static css::uno::Reference< css::chart2::XCoordinateSystem > + static rtl::Reference< ::chart::BaseCoordinateSystem > getCoordinateSystemByIndex( const css::uno::Reference< css::chart2::XDiagram >& xDiagram , sal_Int32 nIndex ); - static css::uno::Reference< css::chart2::XCoordinateSystem > + static rtl::Reference< ::chart::BaseCoordinateSystem > getCoordinateSystemOfAxis( const css::uno::Reference< css::chart2::XAxis >& xAxis , const css::uno::Reference< css::chart2::XDiagram >& xDiagram ); |