summaryrefslogtreecommitdiff
path: root/chart2/inc/ChartModel.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-01-15 22:03:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-16 12:29:27 +0100
commit5a4b75dcb5abc2e925870614a28e1c2876df8ed9 (patch)
tree5fe1f89c70f9c6d90d3eea8f9eb9a68e91f2dec0 /chart2/inc/ChartModel.hxx
parentdab0d4e1f36faace21145a51733bd3a946992624 (diff)
use more concrete types in chart2, Diagram
Change-Id: Iae84e16b3406f4c08139764a1838e38b13cebee7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128471 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/inc/ChartModel.hxx')
-rw-r--r--chart2/inc/ChartModel.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/chart2/inc/ChartModel.hxx b/chart2/inc/ChartModel.hxx
index b3d1d3f42ce9..4717b30a9cbe 100644
--- a/chart2/inc/ChartModel.hxx
+++ b/chart2/inc/ChartModel.hxx
@@ -69,6 +69,7 @@ class SvNumberFormatter;
namespace chart
{
+class Diagram;
namespace impl
{
@@ -158,8 +159,7 @@ private:
m_xChartTypeManager;
// Diagram Access
- css::uno::Reference< css::chart2::XDiagram >
- m_xDiagram;
+ rtl::Reference< ::chart::Diagram > m_xDiagram;
css::uno::Reference< css::chart2::XTitle >
m_xTitle;
@@ -456,6 +456,8 @@ public:
ChartView* getChartView() const;
+ const rtl::Reference< ::chart::Diagram > & getFirstChartDiagram() { return m_xDiagram; }
+
bool isTimeBased() const { return mbTimeBased;}
void setTimeBasedRange(sal_Int32 nStart, sal_Int32 nEnd);