LCOV - code coverage report
Current view: top level - sd/source/ui/dlg - PaneShells.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 26 32 81.2 %
Date: 2012-08-25 Functions: 21 36 58.3 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 27 54 50.0 %

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : /*************************************************************************
       3                 :            :  *
       4                 :            :  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       5                 :            :  *
       6                 :            :  * Copyright 2000, 2010 Oracle and/or its affiliates.
       7                 :            :  *
       8                 :            :  * OpenOffice.org - a multi-platform office productivity suite
       9                 :            :  *
      10                 :            :  * This file is part of OpenOffice.org.
      11                 :            :  *
      12                 :            :  * OpenOffice.org is free software: you can redistribute it and/or modify
      13                 :            :  * it under the terms of the GNU Lesser General Public License version 3
      14                 :            :  * only, as published by the Free Software Foundation.
      15                 :            :  *
      16                 :            :  * OpenOffice.org is distributed in the hope that it will be useful,
      17                 :            :  * but WITHOUT ANY WARRANTY; without even the implied warranty of
      18                 :            :  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      19                 :            :  * GNU Lesser General Public License version 3 for more details
      20                 :            :  * (a copy is included in the LICENSE file that accompanied this code).
      21                 :            :  *
      22                 :            :  * You should have received a copy of the GNU Lesser General Public License
      23                 :            :  * version 3 along with OpenOffice.org.  If not, see
      24                 :            :  * <http://www.openoffice.org/license.html>
      25                 :            :  * for a copy of the LGPLv3 License.
      26                 :            :  *
      27                 :            :  ************************************************************************/
      28                 :            : 
      29                 :            : #include "PaneShells.hxx"
      30                 :            : 
      31                 :            : #include "PaneChildWindows.hxx"
      32                 :            : 
      33                 :            : #include "glob.hrc"
      34                 :            : #include "sdresid.hxx"
      35                 :            : 
      36                 :            : #include <sfx2/msg.hxx>
      37                 :            : #include <sfx2/objface.hxx>
      38                 :            : 
      39                 :            : namespace sd {
      40                 :            : 
      41                 :            : //===== LeftImpressPaneShell ==================================================
      42                 :            : 
      43                 :            : #define ShellClass LeftImpressPaneShell
      44                 :            : 
      45                 :            : SFX_SLOTMAP(LeftImpressPaneShell)
      46                 :            : {
      47                 :            :     { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
      48                 :            : };
      49                 :            : 
      50 [ +  + ][ +  - ]:       1940 : SFX_IMPL_INTERFACE(LeftImpressPaneShell, SfxShell, SdResId(STR_LEFT_IMPRESS_PANE_SHELL))
                 [ +  - ]
      51                 :            : {
      52                 :          8 :     SFX_CHILDWINDOW_REGISTRATION(
      53                 :          8 :         ::sd::LeftPaneImpressChildWindow::GetChildWindowId());
      54                 :          8 : }
      55                 :            : 
      56 [ -  + ][ -  + ]:        738 : TYPEINIT1(LeftImpressPaneShell, SfxShell);
      57                 :            : 
      58                 :            : 
      59                 :            : 
      60                 :         26 : LeftImpressPaneShell::LeftImpressPaneShell (void)
      61                 :         26 :     : SfxShell()
      62                 :            : {
      63 [ +  - ][ +  - ]:         26 :     SetName(rtl::OUString("LeftImpressPane"));
                 [ +  - ]
      64                 :         26 : }
      65                 :            : 
      66                 :            : 
      67                 :            : 
      68                 :            : 
      69                 :          0 : LeftImpressPaneShell::~LeftImpressPaneShell (void)
      70                 :            : {
      71         [ #  # ]:          0 : }
      72                 :            : 
      73                 :            : 
      74                 :            : 
      75                 :            : 
      76                 :            : //===== LeftDrawPaneShell =====================================================
      77                 :            : 
      78                 :            : #undef ShellClass
      79                 :            : #define ShellClass LeftDrawPaneShell
      80                 :            : 
      81                 :            : SFX_SLOTMAP(LeftDrawPaneShell)
      82                 :            : {
      83                 :            :     { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
      84                 :            : };
      85                 :            : 
      86 [ +  + ][ +  - ]:       7400 : SFX_IMPL_INTERFACE(LeftDrawPaneShell, SfxShell, SdResId(STR_LEFT_DRAW_PANE_SHELL))
                 [ +  - ]
      87                 :            : {
      88                 :         16 :     SFX_CHILDWINDOW_REGISTRATION(
      89                 :         16 :         ::sd::LeftPaneDrawChildWindow::GetChildWindowId());
      90                 :         16 : }
      91                 :            : 
      92 [ -  + ][ -  + ]:       2808 : TYPEINIT1(LeftDrawPaneShell, SfxShell);
      93                 :            : 
      94                 :            : 
      95                 :            : 
      96                 :        104 : LeftDrawPaneShell::LeftDrawPaneShell (void)
      97                 :        104 :     : SfxShell()
      98                 :            : {
      99 [ +  - ][ +  - ]:        104 :     SetName(rtl::OUString("LeftDrawPane"));
                 [ +  - ]
     100                 :        104 : }
     101                 :            : 
     102                 :            : 
     103                 :            : 
     104                 :            : 
     105                 :          0 : LeftDrawPaneShell::~LeftDrawPaneShell (void)
     106                 :            : {
     107         [ #  # ]:          0 : }
     108                 :            : 
     109                 :            : 
     110                 :            : 
     111                 :            : 
     112                 :            : //===== ToolPanelPaneShell ========================================================
     113                 :            : 
     114                 :            : #undef ShellClass
     115                 :            : #define ShellClass ToolPanelPaneShell
     116                 :            : 
     117                 :            : SFX_SLOTMAP( ToolPanelPaneShell )
     118                 :            : {
     119                 :            :     { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
     120                 :            : };
     121                 :            : 
     122 [ +  + ][ +  - ]:       1940 : SFX_IMPL_INTERFACE( ToolPanelPaneShell, SfxShell, SdResId( STR_TOOL_PANEL_SHELL ) )
                 [ +  - ]
     123                 :            : {
     124                 :          8 :     SFX_CHILDWINDOW_REGISTRATION( ::sd::ToolPanelChildWindow::GetChildWindowId() );
     125                 :          8 : }
     126                 :            : 
     127 [ -  + ][ -  + ]:        738 : TYPEINIT1( ToolPanelPaneShell, SfxShell );
     128                 :            : 
     129                 :         26 : ToolPanelPaneShell::ToolPanelPaneShell()
     130                 :         26 :     :SfxShell()
     131                 :            : {
     132 [ +  - ][ +  - ]:         26 :     SetName(rtl::OUString("ToolPanel"));
                 [ +  - ]
     133                 :         26 : }
     134                 :            : 
     135                 :          0 : ToolPanelPaneShell::~ToolPanelPaneShell(void)
     136                 :            : {
     137         [ #  # ]:          0 : }
     138                 :            : 
     139                 :            : } // end of namespace ::sd
     140                 :            : 
     141                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10