Update git submodules
[LibreOffice.git] / vcl / source / control / WeldedTabbedNotebookbar.cxx
blob1b9eef3756e055c6774189a85c3a51011b68ea64
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #include <vcl/WeldedTabbedNotebookbar.hxx>
11 #include <vcl/svapp.hxx>
12 #include <jsdialog/jsdialogbuilder.hxx>
14 WeldedTabbedNotebookbar::WeldedTabbedNotebookbar(
15 const VclPtr<vcl::Window>& pContainerWindow, const OUString& rUIFilePath,
16 const css::uno::Reference<css::frame::XFrame>& rFrame, sal_uInt64 nWindowId)
17 : m_xBuilder(JSInstanceBuilder::CreateNotebookbarBuilder(
18 pContainerWindow, AllSettings::GetUIRootDir(), rUIFilePath, rFrame, nWindowId))
20 m_xContainer = m_xBuilder->weld_container("NotebookBar");
21 m_xWeldedToolbar = m_xBuilder->weld_toolbar("WeldedToolbar");
24 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */