LCOV - code coverage report
Current view: top level - sfx2/source/sidebar - PanelDescriptor.cxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 5 8 62.5 %
Date: 2014-04-11 Functions: 2 3 66.7 %
Legend: Lines: hit not hit

          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             : #include "PanelDescriptor.hxx"
      21             : 
      22             : 
      23             : namespace sfx2 { namespace sidebar {
      24             : 
      25         135 : PanelDescriptor::PanelDescriptor (void)
      26             :     : msTitle(),
      27             :       mbIsTitleBarOptional(false),
      28             :       msId(),
      29             :       msDeckId(),
      30             :       msTitleBarIconURL(),
      31             :       msHighContrastTitleBarIconURL(),
      32             :       msHelpURL(),
      33             :       maContextList(),
      34             :       msImplementationURL(),
      35             :       mnOrderIndex(10000), // Default value as defined in Sidebar.xcs
      36             :       mbShowForReadOnlyDocuments(false),
      37         135 :       mbWantsCanvas(false)
      38             : {
      39         135 : }
      40             : 
      41             : 
      42             : 
      43             : 
      44           0 : PanelDescriptor::PanelDescriptor (const PanelDescriptor& rOther)
      45             :     : msTitle(rOther.msTitle),
      46             :       mbIsTitleBarOptional(rOther.mbIsTitleBarOptional),
      47             :       msId(rOther.msId),
      48             :       msDeckId(rOther.msDeckId),
      49             :       msTitleBarIconURL(rOther.msTitleBarIconURL),
      50             :       msHighContrastTitleBarIconURL(rOther.msHighContrastTitleBarIconURL),
      51             :       msHelpURL(rOther.msHelpURL),
      52             :       maContextList(rOther.maContextList),
      53             :       msImplementationURL(rOther.msImplementationURL),
      54             :       mnOrderIndex(rOther.mnOrderIndex),
      55             :       mbShowForReadOnlyDocuments(rOther.mbShowForReadOnlyDocuments),
      56           0 :       mbWantsCanvas(rOther.mbWantsCanvas)
      57             : {
      58           0 : }
      59             : 
      60             : 
      61             : 
      62         135 : PanelDescriptor::~PanelDescriptor (void)
      63             : {
      64         135 : }
      65             : 
      66             : 
      67             : } } // end of namespace sfx2::sidebar
      68             : 
      69             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10