summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-05-25 20:18:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-05-26 16:59:50 +0200
commit2dd7c6a441f48a23dcbff1ebe24bdf21666c4ff0 (patch)
tree1d5ac3014dacdef10933c632764f0e99070c69d1 /sfx2/inc
parenta65cba8e5bafb183924c1a8ff34382c99f1381cc (diff)
tdf#133094 NotebookbarToolBox is not in the sidebar
though it is inheriting from SidebarToolBox and we're distinguish the sidebar case from the non-sidebar case wrt certain color toolbuttons Change-Id: Ieffe45adfab95d426bb36296ee3428b6bd3dbd3f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94806 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/sidebar/ControllerFactory.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sfx2/inc/sidebar/ControllerFactory.hxx b/sfx2/inc/sidebar/ControllerFactory.hxx
index 116458443abc..dbf609775a39 100644
--- a/sfx2/inc/sidebar/ControllerFactory.hxx
+++ b/sfx2/inc/sidebar/ControllerFactory.hxx
@@ -47,13 +47,14 @@ public:
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);
+ const sal_Int32 nItemWidth, bool bSideBar);
static css::uno::Reference<css::frame::XToolbarController> CreateToolBoxController(
weld::Toolbar& rToolbar,
weld::Builder& rBuilder,
const OUString& rsCommandName,
- const css::uno::Reference<css::frame::XFrame>& rxFrame);
+ const css::uno::Reference<css::frame::XFrame>& rxFrame,
+ bool bSideBar);
private:
static css::uno::Reference<css::frame::XToolbarController> CreateToolBarController(
@@ -61,7 +62,7 @@ private:
const OUString& rsCommandName,
const css::uno::Reference<css::frame::XFrame>& rxFrame,
const css::uno::Reference<css::frame::XController>& rxController,
- const sal_Int32 nWidth);
+ const sal_Int32 nWidth, bool bSideBar);
};