/src/libreoffice/sfx2/source/devtools/DevelopmentToolChildWindow.cxx
Line | Count | Source (jump to first uncovered line) |
1 | | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
2 | | /* |
3 | | * This file is part of the LibreOffice project. |
4 | | * |
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 | | * |
9 | | */ |
10 | | |
11 | | #include <sfx2/devtools/DevelopmentToolChildWindow.hxx> |
12 | | #include <DevelopmentToolDockingWindow.hxx> |
13 | | #include <sfx2/sfxsids.hrc> |
14 | | |
15 | | SFX_IMPL_DOCKINGWINDOW_WITHID(DevelopmentToolChildWindow, SID_DEVELOPMENT_TOOLS_DOCKING_WINDOW); |
16 | | |
17 | | DevelopmentToolChildWindow::DevelopmentToolChildWindow(vcl::Window* pParentWindow, sal_uInt16 nId, |
18 | | SfxBindings* pBindings, |
19 | | SfxChildWinInfo* pInfo) |
20 | 0 | : SfxChildWindow(pParentWindow, nId) |
21 | 0 | { |
22 | 0 | VclPtr<DevelopmentToolDockingWindow> pWin |
23 | 0 | = VclPtr<DevelopmentToolDockingWindow>::Create(pBindings, this, pParentWindow); |
24 | 0 | SetWindow(pWin); |
25 | 0 | SetAlignment(SfxChildAlignment::BOTTOM); |
26 | 0 | pWin->SetSizePixel(Size(0, 290)); |
27 | 0 | pWin->Initialize(pInfo); |
28 | 0 | } |
29 | | |
30 | | /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |