diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-08-05 20:11:40 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2015-08-05 23:17:24 +0200 |
commit | 5a2a266d4bb493a7e9e71616d567cb4ccdf82269 (patch) | |
tree | 45d1ce6e5a24df2d9502f83654300691dc8362bd /include | |
parent | 848f685ae8f614ad62d205ef628f259cafb738b3 (diff) |
support more command in chart sidebar
We now have a complete toolbar controller in chart2.
Change-Id: I007d9b058e3d6800204ac035cc2aef5e93c1208b
Diffstat (limited to 'include')
-rw-r--r-- | include/sfx2/sidebar/ControllerFactory.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/sidebar/PanelTitleBar.hxx | 3 |
2 files changed, 4 insertions, 1 deletions
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<css::frame::XFrame>& rxFrame, + const css::uno::Reference<css::frame::XController>& rxController, const css::uno::Reference<css::awt::XWindow>& rxParentWindow, const sal_Int32 nItemWidth); @@ -47,6 +48,7 @@ private: ToolBox* pToolBox, const ::rtl::OUString& rsCommandName, const css::uno::Reference<css::frame::XFrame>& rxFrame, + const css::uno::Reference<css::frame::XController>& 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<css::frame::XFrame>& rxFrame); + const css::uno::Reference<css::frame::XFrame>& rxFrame, + const css::uno::Reference<css::frame::XController>& rxController); virtual void DataChanged(const DataChangedEvent& rEvent) SAL_OVERRIDE; virtual void MouseButtonDown(const MouseEvent& rMouseEvent) SAL_OVERRIDE; |