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/ObjectIdentifier.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/ObjectIdentifier.hxx')
-rw-r--r-- | chart2/source/inc/ObjectIdentifier.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chart2/source/inc/ObjectIdentifier.hxx b/chart2/source/inc/ObjectIdentifier.hxx index 5e52fbfa1ac5..f4ce48011419 100644 --- a/chart2/source/inc/ObjectIdentifier.hxx +++ b/chart2/source/inc/ObjectIdentifier.hxx @@ -42,6 +42,7 @@ namespace com::sun::star::uno { class XInterface; } namespace chart { +class Axis; class BaseCoordinateSystem; class DataSeries; class Diagram; @@ -112,6 +113,9 @@ public: static OUString createClassifiedIdentifierForObject( const rtl::Reference< ::chart::Legend >& xObject , const rtl::Reference<::chart::ChartModel>& xChartModel ); + static OUString createClassifiedIdentifierForObject( + const rtl::Reference< ::chart::Axis >& xObject + , const rtl::Reference<::chart::ChartModel>& xChartModel ); static OUString createClassifiedIdentifierForParticle( const OUString& rParticle ); @@ -198,7 +202,7 @@ public: , const rtl::Reference< ::chart::ChartModel >& xChartDocument ); //return the axis object that belongs to rObjectCID if any - static css::uno::Reference< css::chart2::XAxis > + static rtl::Reference< ::chart::Axis > getAxisForCID( const OUString& rObjectCID , const rtl::Reference<::chart::ChartModel>& xChartModel ); |