diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-01-25 21:09:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-01-26 07:18:01 +0100 |
commit | ea00a6ce3b5e15ac2640983cfaaf11755d233644 (patch) | |
tree | e7243de5202e38bdd2618071dcb69c0b6946bb2f /chart2/source/inc/LegendHelper.hxx | |
parent | f4dd0dfd27201152b1e39c35302e1ca9c6ce12b6 (diff) |
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/inc/LegendHelper.hxx')
-rw-r--r-- | chart2/source/inc/LegendHelper.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
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 <com/sun/star/uno/Reference.hxx> +#include <rtl/ref.hxx> #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 <FALSE/>. Otherwise, <TRUE/> is returned. */ - static bool hasLegend( const css::uno::Reference< css::chart2::XDiagram > & xDiagram ); + static bool hasLegend( const rtl::Reference< ::chart::Diagram > & xDiagram ); }; } //namespace chart |