summaryrefslogtreecommitdiff
path: root/framework/source/layoutmanager
diff options
context:
space:
mode:
authorSzymon Kłos <eszkadev@gmail.com>2016-03-18 13:55:24 +0100
committerJan Holesovsky <kendy@collabora.com>2016-03-30 11:01:30 +0200
commit1fb314832ebd14cde6457feb2bf4f19e1bfcaa82 (patch)
treeda734f97c69385c0864c42249de09f2d5a3754a6 /framework/source/layoutmanager
parent2c29716d349353997bf7cdde63cd9f867c5baeb6 (diff)
notebookbar: Instantiate the notebookbar via sfx2 infrastructure.
Change-Id: Iaed4596246245560e646d9086e717d5fb516897e
Diffstat (limited to 'framework/source/layoutmanager')
-rw-r--r--framework/source/layoutmanager/layoutmanager.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/framework/source/layoutmanager/layoutmanager.cxx b/framework/source/layoutmanager/layoutmanager.cxx
index 0651e0f718a1..e7bbd0fdd566 100644
--- a/framework/source/layoutmanager/layoutmanager.cxx
+++ b/framework/source/layoutmanager/layoutmanager.cxx
@@ -1528,11 +1528,6 @@ throw (RuntimeException, std::exception)
}
}
}
- if (getenv("LO_USE_NOTEBOOKBAR"))
- {
- pSysWindow->CreateNotebookBar("vcl/ui/notebookbar.ui", m_xFrame);
- pSysWindow->SetMenuBarMode(MenuBarMode::Hide);
- }
}
}
}