summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2017-03-21 12:55:09 +0100
committerSzymon Kłos <eszkadev@gmail.com>2017-03-21 16:08:35 +0000
commit9f3b59a511b15328284f4f25b7ac0cd89ba1a303 (patch)
tree2626622d74b2d0276fb6ef67ae7d259e39af5f05 /include
parent9abbeb95d41d8fb3e3c4ec74221666e60a44e747 (diff)
Notebookbar: multiple context containers support
Possibility to add multiple context containers. Each container should have name "ContextContainer" or "ContextContainerX" where X >= 1 Change-Id: Ie689ebde624f766b11d96370d6b108018f9130c9 Reviewed-on: https://gerrit.libreoffice.org/35506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Szymon Kłos <eszkadev@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/notebookbar.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/notebookbar.hxx b/include/vcl/notebookbar.hxx
index 4273edc9fabf..bc3885cabd59 100644
--- a/include/vcl/notebookbar.hxx
+++ b/include/vcl/notebookbar.hxx
@@ -15,6 +15,7 @@
#include <vcl/EnumContext.hxx>
#include <sfx2/notebookbar/NotebookbarContextControl.hxx>
#include <com/sun/star/ui/XContextChangeEventListener.hpp>
+#include <vector>
class SystemWindow;
@@ -41,7 +42,7 @@ public:
private:
VclPtr<SystemWindow> m_pSystemWindow;
css::uno::Reference<css::ui::XContextChangeEventListener> m_pEventListener;
- NotebookbarContextControl* m_pContextContainer;
+ std::vector<NotebookbarContextControl*> m_pContextContainers;
void UpdateBackground();
};