summaryrefslogtreecommitdiff
path: root/chart2/source/inc/AxisHelper.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-01-25 20:17:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-25 20:23:08 +0100
commit39f452953e12e24350e7a3740129fa4930aedfca (patch)
tree4561622298ab522d07b87f404b565ae271273656 /chart2/source/inc/AxisHelper.hxx
parentd1207a5f3a573dbe39a7874931ce373e5c88628d (diff)
use more concrete types in chart2, Diagram
Change-Id: I40cd39d0878dc56e4e86e05149c9744cb563d745 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128942 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.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/chart2/source/inc/AxisHelper.hxx b/chart2/source/inc/AxisHelper.hxx
index df3da4c4de5b..61610b5c4b9d 100644
--- a/chart2/source/inc/AxisHelper.hxx
+++ b/chart2/source/inc/AxisHelper.hxx
@@ -40,6 +40,7 @@ namespace chart
{
class BaseCoordinateSystem;
class ChartType;
+class Diagram;
class OOO_DLLPUBLIC_CHARTTOOLS AxisHelper
{
@@ -102,7 +103,7 @@ public:
static void makeGridInvisible( const css::uno::Reference< css::beans::XPropertySet >& xGridProperties );
static void hideAxisIfNoDataIsAttached( const css::uno::Reference< css::chart2::XAxis >& xAxis
- , const css::uno::Reference< css::chart2::XDiagram >& xDiagram);
+ , const rtl::Reference< ::chart::Diagram >& xDiagram);
SAL_DLLPRIVATE static bool areAxisLabelsVisible( const css::uno::Reference< css::beans::XPropertySet >& xAxisProperties );
static bool isAxisVisible( const css::uno::Reference< css::chart2::XAxis >& xAxis );
@@ -172,7 +173,7 @@ public:
getAllGrids( const css::uno::Reference< css::chart2::XDiagram >& xDiagram );
static void getAxisOrGridPossibilities( css::uno::Sequence< sal_Bool >& rPossibilityList
- , const css::uno::Reference< css::chart2::XDiagram>& xDiagram, bool bAxis=true );
+ , const rtl::Reference< ::chart::Diagram>& xDiagram, bool bAxis=true );
static void getAxisOrGridExistence( css::uno::Sequence< sal_Bool >& rExistenceList
, const css::uno::Reference< css::chart2::XDiagram>& xDiagram, bool bAxis=true );
@@ -199,7 +200,7 @@ public:
static void setRTLAxisLayout( const css::uno::Reference< css::chart2::XCoordinateSystem >& xCooSys );
static rtl::Reference< ::chart::ChartType >
- getFirstChartTypeWithSeriesAttachedToAxisIndex( const css::uno::Reference< css::chart2::XDiagram >& xDiagram, const sal_Int32 nAttachedAxisIndex );
+ getFirstChartTypeWithSeriesAttachedToAxisIndex( const rtl::Reference< ::chart::Diagram >& xDiagram, const sal_Int32 nAttachedAxisIndex );
static bool isAxisPositioningEnabled();
};