LCOV - code coverage report
Current view: top level - sd/source/ui/dlg - LayerDialogChildWindow.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 1 11 9.1 %
Date: 2012-08-25 Functions: 1 7 14.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 1 20 5.0 %

           Branch data     Line data    Source code
       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                 :            :  * This file incorporates work covered by the following license notice:
      10                 :            :  *
      11                 :            :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      12                 :            :  *   contributor license agreements. See the NOTICE file distributed
      13                 :            :  *   with this work for additional information regarding copyright
      14                 :            :  *   ownership. The ASF licenses this file to you under the Apache
      15                 :            :  *   License, Version 2.0 (the "License"); you may not use this file
      16                 :            :  *   except in compliance with the License. You may obtain a copy of
      17                 :            :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      18                 :            :  */
      19                 :            : 
      20                 :            : 
      21                 :            : #include "LayerDialogChildWindow.hxx"
      22                 :            : #include <sfx2/dockwin.hxx>
      23                 :            : #include "app.hrc"
      24                 :            : #include <sfx2/app.hxx>
      25                 :            : 
      26                 :            : // Instantiate the implementation of the docking window before files
      27                 :            : // are included that define ::sd::Window.  The ... macros are not really
      28                 :            : // namespace proof.
      29                 :            : namespace sd {
      30 [ #  # ][ +  - ]:         25 : SFX_IMPL_DOCKINGWINDOW_WITHID(LayerDialogChildWindow, SID_LAYER_DIALOG_WIN)
                 [ #  # ]
      31                 :            : }
      32                 :            : 
      33                 :            : #include "LayerDialog.hrc"
      34                 :            : #include "LayerDialogContent.hxx"
      35                 :            : 
      36                 :            : 
      37                 :            : #include "ViewShellBase.hxx"
      38                 :            : #include "DrawViewShell.hxx"
      39                 :            : #include <sfx2/dispatch.hxx>
      40                 :            : 
      41                 :            : namespace sd {
      42                 :            : 
      43                 :            : 
      44                 :          0 : LayerDialogChildWindow::LayerDialogChildWindow (
      45                 :            :     ::Window* _pParent,
      46                 :            :     sal_uInt16 nId,
      47                 :            :     SfxBindings* pBindings,
      48                 :            :     SfxChildWinInfo* pInfo)
      49                 :          0 :     : SfxChildWindow (_pParent, nId)
      50                 :            : {
      51                 :            :     ViewShellBase& rBase (*ViewShellBase::GetViewShellBase(
      52 [ #  # ][ #  # ]:          0 :         pBindings->GetDispatcher()->GetFrame()));
      53                 :            :     LayerDialogContent* pContent = new LayerDialogContent (
      54                 :            :         pBindings,
      55                 :            :         this,
      56                 :            :         _pParent,
      57                 :            :         SdResId( FLT_WIN_LAYER_DIALOG),
      58 [ #  # ][ #  # ]:          0 :         rBase);
                 [ #  # ]
      59                 :          0 :     pWindow = pContent;
      60                 :            : 
      61                 :          0 :     eChildAlignment = SFX_ALIGN_NOALIGNMENT;
      62                 :            : 
      63         [ #  # ]:          0 :     pContent->Initialize(pInfo);
      64                 :          0 : }
      65                 :            : 
      66                 :            : 
      67                 :            : 
      68                 :          0 : LayerDialogChildWindow::~LayerDialogChildWindow (void)
      69                 :            : {
      70         [ #  # ]:          0 : }
      71                 :            : 
      72                 :            : 
      73                 :            : 
      74                 :            : } // end of namespace sd
      75                 :            : 
      76                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10