LCOV - code coverage report
Current view: top level - sd/source/core - sdattr.cxx (source / functions) Hit Total Coverage
Test: commit c8344322a7af75b84dd3ca8f78b05543a976dfd5 Lines: 0 41 0.0 %
Date: 2015-06-13 12:38:46 Functions: 0 35 0.0 %
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 "sdattr.hxx"
      21             : 
      22             : using namespace ::com::sun::star;
      23             : 
      24             : /*************************************************************************
      25             : |*
      26             : |*  DiaEffectItem
      27             : |*
      28             : *************************************************************************/
      29           0 : TYPEINIT1_AUTOFACTORY( DiaEffectItem, SfxEnumItem );
      30             : 
      31           0 : DiaEffectItem::DiaEffectItem( presentation::FadeEffect eFE ) :
      32           0 :     SfxEnumItem( ATTR_DIA_EFFECT, (sal_uInt16)eFE )
      33             : {
      34           0 : }
      35             : 
      36           0 : DiaEffectItem::DiaEffectItem( SvStream& rIn ) :
      37           0 :     SfxEnumItem( ATTR_DIA_EFFECT, rIn )
      38             : {
      39           0 : }
      40             : 
      41           0 : SfxPoolItem* DiaEffectItem::Clone( SfxItemPool* ) const
      42             : {
      43           0 :     return new DiaEffectItem( *this );
      44             : }
      45             : 
      46           0 : SfxPoolItem* DiaEffectItem::Create( SvStream& rIn, sal_uInt16 ) const
      47             : {
      48           0 :     return new DiaEffectItem( rIn );
      49             : }
      50             : 
      51             : /*************************************************************************
      52             : |*
      53             : |*  DiaSpeedItem
      54             : |*
      55             : *************************************************************************/
      56           0 : TYPEINIT1_AUTOFACTORY( DiaSpeedItem, SfxEnumItem );
      57             : 
      58           0 : DiaSpeedItem::DiaSpeedItem( FadeSpeed eFS ) :
      59           0 :     SfxEnumItem( ATTR_DIA_SPEED, (sal_uInt16)eFS )
      60             : {
      61           0 : }
      62             : 
      63           0 : DiaSpeedItem::DiaSpeedItem( SvStream& rIn ) :
      64           0 :     SfxEnumItem( ATTR_DIA_SPEED, rIn )
      65             : {
      66           0 : }
      67             : 
      68           0 : SfxPoolItem* DiaSpeedItem::Clone( SfxItemPool* ) const
      69             : {
      70           0 :     return new DiaSpeedItem( *this );
      71             : }
      72             : 
      73           0 : SfxPoolItem* DiaSpeedItem::Create( SvStream& rIn, sal_uInt16 ) const
      74             : {
      75           0 :     return new DiaSpeedItem( rIn );
      76             : }
      77             : 
      78             : /*************************************************************************
      79             : |*
      80             : |*  DiaAutoItem
      81             : |*
      82             : *************************************************************************/
      83           0 : TYPEINIT1_AUTOFACTORY( DiaAutoItem, SfxEnumItem );
      84             : 
      85           0 : DiaAutoItem::DiaAutoItem( PresChange eChange ) :
      86           0 :     SfxEnumItem( ATTR_DIA_AUTO, (sal_uInt16)eChange )
      87             : {
      88           0 : }
      89             : 
      90           0 : DiaAutoItem::DiaAutoItem( SvStream& rIn ) :
      91           0 :     SfxEnumItem( ATTR_DIA_AUTO, rIn )
      92             : {
      93           0 : }
      94             : 
      95           0 : SfxPoolItem* DiaAutoItem::Clone( SfxItemPool* ) const
      96             : {
      97           0 :     return new DiaAutoItem( *this );
      98             : }
      99             : 
     100           0 : SfxPoolItem* DiaAutoItem::Create( SvStream& rIn, sal_uInt16 ) const
     101             : {
     102           0 :     return new DiaAutoItem( rIn );
     103             : }
     104             : 
     105             : /*************************************************************************
     106             : |*
     107             : |*  DiaTimeItem
     108             : |*
     109             : *************************************************************************/
     110           0 : TYPEINIT1_AUTOFACTORY( DiaTimeItem, SfxUInt32Item );
     111             : 
     112           0 : DiaTimeItem::DiaTimeItem( sal_uInt32 nValue ) :
     113           0 :         SfxUInt32Item( ATTR_DIA_TIME, nValue )
     114             : {
     115           0 : }
     116             : 
     117           0 : SfxPoolItem* DiaTimeItem::Clone( SfxItemPool* ) const
     118             : {
     119           0 :     return new DiaTimeItem( *this );
     120             : }
     121             : 
     122           0 : bool DiaTimeItem::operator==( const SfxPoolItem& rItem ) const
     123             : {
     124           0 :     return static_cast<const DiaTimeItem&>( rItem ).GetValue() == GetValue();
     125             : }
     126             : 
     127             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.11