diff options
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/control/WeldedTabbedNotebookbar.cxx | 2 | ||||
-rw-r--r-- | vcl/source/control/notebookbar.cxx | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/vcl/source/control/WeldedTabbedNotebookbar.cxx b/vcl/source/control/WeldedTabbedNotebookbar.cxx index eb40389733f7..1a3311de9f5b 100644 --- a/vcl/source/control/WeldedTabbedNotebookbar.cxx +++ b/vcl/source/control/WeldedTabbedNotebookbar.cxx @@ -18,8 +18,6 @@ WeldedTabbedNotebookbar::WeldedTabbedNotebookbar( pContainerWindow, AllSettings::GetUIRootDir(), rUIFilePath, rFrame, nWindowId)) { m_xContainer = m_xBuilder->weld_container("NotebookBar"); - m_xNotebook = m_xBuilder->weld_notebook("ContextContainer"); - m_xNotebook->set_current_page("HomeLabel"); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/vcl/source/control/notebookbar.cxx b/vcl/source/control/notebookbar.cxx index f7b58dfc3416..d27214bc9015 100644 --- a/vcl/source/control/notebookbar.cxx +++ b/vcl/source/control/notebookbar.cxx @@ -72,11 +72,7 @@ NotebookBar::NotebookBar(Window* pParent, const OString& rID, const OUString& rU if ( doesCustomizedUIExist ) sUIDir = getCustomizedUIRootDir(); - bool bIsWelded = comphelper::LibreOfficeKit::isActive() - && (rUIXMLDescription == "modules/swriter/ui/notebookbar.ui" - || rUIXMLDescription == "modules/scalc/ui/notebookbar.ui" - || rUIXMLDescription == "modules/simpress/ui/notebookbar.ui" - || rUIXMLDescription == "modules/sdraw/ui/notebookbar.ui"); + bool bIsWelded = comphelper::LibreOfficeKit::isActive(); if (bIsWelded) { m_bIsWelded = true; |