From ea00a6ce3b5e15ac2640983cfaaf11755d233644 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 25 Jan 2022 21:09:02 +0200 Subject: use more concrete types in chart2, Diagram Change-Id: I8640175f493d89bea7eb4780b4cbebf7d0b74a94 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128945 Tested-by: Jenkins Reviewed-by: Noel Grandin --- chart2/source/inc/LegendHelper.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chart2/source/inc/LegendHelper.hxx') diff --git a/chart2/source/inc/LegendHelper.hxx b/chart2/source/inc/LegendHelper.hxx index d0f19ebb8385..ca2dc0ef8e16 100644 --- a/chart2/source/inc/LegendHelper.hxx +++ b/chart2/source/inc/LegendHelper.hxx @@ -19,6 +19,7 @@ #pragma once #include +#include #include "charttoolsdllapi.hxx" namespace chart { class ChartModel; } @@ -28,6 +29,7 @@ namespace com::sun::star::uno { class XComponentContext; } namespace chart { +class Diagram; class OOO_DLLPUBLIC_CHARTTOOLS LegendHelper { @@ -47,7 +49,7 @@ public: is a legend which has a "Show" property of value . Otherwise, is returned. */ - static bool hasLegend( const css::uno::Reference< css::chart2::XDiagram > & xDiagram ); + static bool hasLegend( const rtl::Reference< ::chart::Diagram > & xDiagram ); }; } //namespace chart -- cgit