summaryrefslogtreecommitdiff
path: root/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-10-15 07:55:26 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-11-19 13:47:36 +0100
commit401f01caf5b357ac6c15b37a89c0a9aaeb46f4e4 (patch)
tree587823c8639fe4c5166ccd8a70b6a5335242677f /chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
parentcf90715b35b11286d800c0e1d57ce3a62303e883 (diff)
use ChartModel instead of XModel in a few places
This allows us easier implementation of some advanced features. Mainly the 4D chartting will now be able to work without several ugly layers of UNO. Change-Id: I74d07229eaef921c508f3bab8fae6d6075ad737a
Diffstat (limited to 'chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx')
-rw-r--r--chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
index 992cf384ffa1..c73da310cda4 100644
--- a/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
+++ b/chart2/source/controller/chartapiwrapper/Chart2ModelContact.hxx
@@ -38,6 +38,7 @@
namespace chart
{
class ExplicitValueProvider;
+class ChartModel;
namespace wrapper
{
@@ -57,6 +58,8 @@ public:
::com::sun::star::uno::Reference<
::com::sun::star::frame::XModel > getChartModel() const;
+ ChartModel* getModel() const;
+
::com::sun::star::uno::Reference<
::com::sun::star::chart2::XChartDocument > getChart2Document() const;
::com::sun::star::uno::Reference<
@@ -145,6 +148,8 @@ private: //member
::com::sun::star::uno::WeakReference<
::com::sun::star::frame::XModel > m_xChartModel;
+ ChartModel* mpModel;
+
mutable ::com::sun::star::uno::Reference<
::com::sun::star::lang::XUnoTunnel > m_xChartView;