diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2017-03-21 02:49:55 +0100 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2017-03-23 17:29:27 +0000 |
commit | eb0218315aa4f564233e105a2cd1e0496a3f409e (patch) | |
tree | c63045649dde5220e96b8d3981d584222aecd678 /chart2/source/controller/inc/ChartController.hxx | |
parent | 6291574d9477067e14ae493d7d9e59b19c8616ab (diff) |
Lets not call 1/2 of everyone we know friend...
...esp. when they tend try to own our private parts.
Lets be honest here. Also remove pointless dynamic_casts.
Change-Id: Ie6ef8a0c07a72aaa15e374e5ec6841520c0fafb1
Reviewed-on: https://gerrit.libreoffice.org/35599
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'chart2/source/controller/inc/ChartController.hxx')
-rw-r--r-- | chart2/source/controller/inc/ChartController.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chart2/source/controller/inc/ChartController.hxx b/chart2/source/controller/inc/ChartController.hxx index 40b31bc6ec00..7dfcfa688f56 100644 --- a/chart2/source/controller/inc/ChartController.hxx +++ b/chart2/source/controller/inc/ChartController.hxx @@ -102,7 +102,6 @@ class ChartController : public ::cppu::WeakImplHelper < > { friend class DrawCommandDispatch; - friend class ShapeController; public: ChartController() = delete; @@ -322,15 +321,15 @@ public: ViewElementListProvider getViewElementListProvider(); DrawModelWrapper* GetDrawModelWrapper(); + DrawViewWrapper* GetDrawViewWrapper(); + VclPtr<ChartWindow> GetChartWindow(); + bool isAdditionalShapeSelected(); DECL_LINK( NotifyUndoActionHdl, SdrUndoAction*, void ); css::uno::Reference<css::uno::XInterface> const & getChartView(); private: - DrawViewWrapper* GetDrawViewWrapper(); - -private: class TheModelRef; friend class ChartController::TheModelRef; class TheModel : public salhelper::SimpleReferenceObject |