From 5a2a266d4bb493a7e9e71616d567cb4ccdf82269 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Wed, 5 Aug 2015 20:11:40 +0200 Subject: support more command in chart sidebar We now have a complete toolbar controller in chart2. Change-Id: I007d9b058e3d6800204ac035cc2aef5e93c1208b --- include/sfx2/sidebar/ControllerFactory.hxx | 2 ++ include/sfx2/sidebar/PanelTitleBar.hxx | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'include/sfx2') diff --git a/include/sfx2/sidebar/ControllerFactory.hxx b/include/sfx2/sidebar/ControllerFactory.hxx index 985ee9b5756d..feb40343afcb 100644 --- a/include/sfx2/sidebar/ControllerFactory.hxx +++ b/include/sfx2/sidebar/ControllerFactory.hxx @@ -39,6 +39,7 @@ public: const sal_uInt16 nItemId, const ::rtl::OUString& rsCommandName, const css::uno::Reference& rxFrame, + const css::uno::Reference& rxController, const css::uno::Reference& rxParentWindow, const sal_Int32 nItemWidth); @@ -47,6 +48,7 @@ private: ToolBox* pToolBox, const ::rtl::OUString& rsCommandName, const css::uno::Reference& rxFrame, + const css::uno::Reference& rxController, const sal_Int32 nWidth); }; diff --git a/include/sfx2/sidebar/PanelTitleBar.hxx b/include/sfx2/sidebar/PanelTitleBar.hxx index 21cee82b1450..b8dc3698f0b8 100644 --- a/include/sfx2/sidebar/PanelTitleBar.hxx +++ b/include/sfx2/sidebar/PanelTitleBar.hxx @@ -36,7 +36,8 @@ public: virtual void dispose() SAL_OVERRIDE; void SetMoreOptionsCommand(const OUString& rsCommandName, - const css::uno::Reference& rxFrame); + const css::uno::Reference& rxFrame, + const css::uno::Reference& rxController); virtual void DataChanged(const DataChangedEvent& rEvent) SAL_OVERRIDE; virtual void MouseButtonDown(const MouseEvent& rMouseEvent) SAL_OVERRIDE; -- cgit