diff options
author | Jan Holesovsky <kendy@collabora.com> | 2016-03-30 10:28:10 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2016-03-30 11:01:30 +0200 |
commit | d150cc71a37f11c6e47cc528a74782722bff048c (patch) | |
tree | ed82c05e97b9403e0fd58c48ae098121cacea24d /sw/source/uibase/app/swmodule.cxx | |
parent | d039c4812db5ba4beed72deb44fe6b04137af6e5 (diff) |
notebookbar: Trying to use the SfxChildWindow for it does not work too well.
The notebookbar is not a child window, so trying to graft it on the
SfxChildWindow infrastructure is more pain than gain, unfortunately...
Instead, it's enough to create the appropriate functions for ExecMethod and
StateMethod, and call them from Writer / Calc / etc. with the appropriate .ui
file; that's easier & works equally well.
Change-Id: I08d98d4f481bd02e90ba11df0bd1c1149697a7fa
Diffstat (limited to 'sw/source/uibase/app/swmodule.cxx')
-rw-r--r-- | sw/source/uibase/app/swmodule.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sw/source/uibase/app/swmodule.cxx b/sw/source/uibase/app/swmodule.cxx index 6199616a939d..54fe827fe9ac 100644 --- a/sw/source/uibase/app/swmodule.cxx +++ b/sw/source/uibase/app/swmodule.cxx @@ -98,7 +98,6 @@ #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> @@ -368,10 +367,6 @@ 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); } |