summaryrefslogtreecommitdiff
path: root/chart2/inc/ChartModel.hxx
diff options
context:
space:
mode:
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);