summaryrefslogtreecommitdiff
path: root/vcl/source/window/syswin.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-09-11 14:10:21 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2015-10-15 10:56:32 +0200
commit8c1014021dbe9da2e18233d215b970f5359db67b (patch)
treec0661b08ecfc7053ac56a6d378e94423b443c789 /vcl/source/window/syswin.cxx
parent74dbe58f1e5b6f4f281e13f348c8952b1086877a (diff)
vcl: Initial NotebookBar implementation.
See https://wiki.documentfoundation.org/Development/NotebookBar Change-Id: I91535c13d68261f7195989ec78bd305cf572c87c
Diffstat (limited to 'vcl/source/window/syswin.cxx')
-rw-r--r--vcl/source/window/syswin.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/source/window/syswin.cxx b/vcl/source/window/syswin.cxx
index 1403918ef987..a8f753800f0c 100644
--- a/vcl/source/window/syswin.cxx
+++ b/vcl/source/window/syswin.cxx
@@ -39,6 +39,8 @@
#include <brdwin.hxx>
#include <window.h>
+#include "notebookbarwindow.hxx"
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
@@ -967,6 +969,11 @@ void SystemWindow::SetMenuBar(MenuBar* pMenuBar)
}
}
+void SystemWindow::CreateNotebookBar(const OUString& rUIXMLDescription, const css::uno::Reference<css::frame::XFrame>& rFrame)
+{
+ static_cast<ImplBorderWindow*>(mpWindowImpl->mpBorderWindow.get())->SetNotebookBarWindow(rUIXMLDescription, rFrame);
+}
+
void SystemWindow::SetMenuBarMode( MenuBarMode nMode )
{
if ( mnMenuBarMode != nMode )