summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app/swmodule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/app/swmodule.cxx')
-rw-r--r--sw/source/uibase/app/swmodule.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/uibase/app/swmodule.cxx b/sw/source/uibase/app/swmodule.cxx
index 963164651352..6199616a939d 100644
--- a/sw/source/uibase/app/swmodule.cxx
+++ b/sw/source/uibase/app/swmodule.cxx
@@ -98,6 +98,7 @@
#include <modcfg.hxx>
#include <fontcfg.hxx>
#include <sfx2/sidebar/SidebarChildWindow.hxx>
+#include <sfx2/notebookbar/NotebookBarChildWindow.hxx>
#include <sfx2/evntconf.hxx>
#include <swatrset.hxx>
#include <idxmrk.hxx>
@@ -367,6 +368,11 @@ void SwDLL::RegisterControls()
::avmedia::MediaPlayer::RegisterChildWindow(false, pMod);
::sfx2::sidebar::SidebarChildWindow::RegisterChildWindow(false, pMod);
+ ::sfx2::NotebookBarChildWindow::RegisterChildWindow(false, pMod);
+
+ //SfxFrame& rFrame = GetActiveView()->GetViewFrame()->GetFrame();
+ //rFrame.GetSystemWindow()->SetNotebookBar("vcl/ui/notebookbar.ui", rFrame.GetFrameInterface());
+
SwJumpToSpecificPageControl::RegisterControl(SID_JUMP_TO_SPECIFIC_PAGE, pMod);
}