diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-02-05 14:58:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-02-05 20:39:03 +0100 |
commit | 333ccb081b4ab62adce50ca4c93162b9baf984d0 (patch) | |
tree | 05c9f99d750a549e9d397735ed62687c75df6b50 /chart2/source/inc/BaseCoordinateSystem.hxx | |
parent | 1a4955f2c1158197db74d7cf4f1f0c98c096224c (diff) |
use more concrete types in chart2, Axis
Change-Id: If80b6487ad2b8ac75f98f798b839aff2b8a5c23e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129522
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/inc/BaseCoordinateSystem.hxx')
-rw-r--r-- | chart2/source/inc/BaseCoordinateSystem.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chart2/source/inc/BaseCoordinateSystem.hxx b/chart2/source/inc/BaseCoordinateSystem.hxx index 2241c8490b83..afb02c07f1f4 100644 --- a/chart2/source/inc/BaseCoordinateSystem.hxx +++ b/chart2/source/inc/BaseCoordinateSystem.hxx @@ -33,6 +33,7 @@ namespace chart { +class Axis; class ChartType; namespace impl @@ -96,6 +97,9 @@ public: virtual void SAL_CALL removeModifyListener( const css::uno::Reference< css::util::XModifyListener >& aListener ) override; + void setAxisByDimension( sal_Int32 nDimension, const rtl::Reference< ::chart::Axis >& xAxis, sal_Int32 nIndex ); + rtl::Reference< ::chart::Axis > getAxisByDimension2(sal_Int32 nDimension, sal_Int32 nIndex ) const; + void setChartTypes( const std::vector< rtl::Reference< ::chart::ChartType > >& aChartTypes ); const std::vector< rtl::Reference<::chart::ChartType > > & getChartTypes2() const { return m_aChartTypes; } @@ -120,7 +124,7 @@ protected: private: sal_Int32 m_nDimensionCount; - typedef std::vector< std::vector< css::uno::Reference< css::chart2::XAxis > > > tAxisVecVecType; + typedef std::vector< std::vector< rtl::Reference< ::chart::Axis > > > tAxisVecVecType; tAxisVecVecType m_aAllAxis; //outer sequence is the dimension; inner sequence is the axis index that indicates main or secondary axis std::vector< rtl::Reference<::chart::ChartType > > m_aChartTypes; }; |