LCOV - code coverage report
Current view: top level - chart2/source/model/template - FilledNetChartType.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 14 19 73.7 %
Date: 2012-08-25 Functions: 6 11 54.5 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 7 28 25.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                 :            : #include "FilledNetChartType.hxx"
      21                 :            : #include "PropertyHelper.hxx"
      22                 :            : #include "macros.hxx"
      23                 :            : #include "PolarCoordinateSystem.hxx"
      24                 :            : #include "Scaling.hxx"
      25                 :            : #include "servicenames_charttypes.hxx"
      26                 :            : #include "ContainerHelper.hxx"
      27                 :            : #include "AxisIndexDefines.hxx"
      28                 :            : #include <com/sun/star/beans/PropertyAttribute.hpp>
      29                 :            : #include <com/sun/star/chart2/AxisType.hpp>
      30                 :            : 
      31                 :            : using namespace ::com::sun::star;
      32                 :            : using namespace ::com::sun::star::chart2;
      33                 :            : 
      34                 :            : using ::rtl::OUString;
      35                 :            : using ::com::sun::star::beans::Property;
      36                 :            : using ::com::sun::star::uno::Sequence;
      37                 :            : using ::com::sun::star::uno::Reference;
      38                 :            : using ::com::sun::star::uno::Any;
      39                 :            : using ::osl::MutexGuard;
      40                 :            : 
      41                 :            : namespace chart
      42                 :            : {
      43                 :            : 
      44                 :         46 : FilledNetChartType::FilledNetChartType(
      45                 :            :     const uno::Reference< uno::XComponentContext > & xContext ) :
      46                 :         46 :         NetChartType_Base( xContext )
      47                 :         46 : {}
      48                 :            : 
      49                 :          0 : FilledNetChartType::FilledNetChartType( const FilledNetChartType & rOther ) :
      50                 :          0 :         NetChartType_Base( rOther )
      51                 :            : {
      52                 :          0 : }
      53                 :            : 
      54                 :         46 : FilledNetChartType::~FilledNetChartType()
      55         [ -  + ]:         92 : {}
      56                 :            : 
      57                 :            : // ____ XCloneable ____
      58                 :          0 : uno::Reference< util::XCloneable > SAL_CALL FilledNetChartType::createClone()
      59                 :            :     throw (uno::RuntimeException)
      60                 :            : {
      61 [ #  # ][ #  # ]:          0 :     return uno::Reference< util::XCloneable >( new FilledNetChartType( *this ));
      62                 :            : }
      63                 :            : 
      64                 :            : // ____ XChartType ____
      65                 :         92 : ::rtl::OUString SAL_CALL FilledNetChartType::getChartType()
      66                 :            :     throw (uno::RuntimeException)
      67                 :            : {
      68                 :         92 :     return CHART2_SERVICE_NAME_CHARTTYPE_FILLED_NET;
      69                 :            : }
      70                 :            : 
      71                 :          2 : uno::Sequence< ::rtl::OUString > FilledNetChartType::getSupportedServiceNames_Static()
      72                 :            : {
      73                 :          2 :     uno::Sequence< ::rtl::OUString > aServices( 3 );
      74 [ +  - ][ +  - ]:          2 :     aServices[ 0 ] = CHART2_SERVICE_NAME_CHARTTYPE_FILLED_NET;
      75 [ +  - ][ +  - ]:          2 :     aServices[ 1 ] = C2U( "com.sun.star.chart2.ChartType" );
      76 [ +  - ][ +  - ]:          2 :     aServices[ 2 ] = C2U( "com.sun.star.beans.PropertySet" );
      77                 :          2 :     return aServices;
      78                 :            : }
      79                 :            : 
      80                 :            : // implement XServiceInfo methods basing upon getSupportedServiceNames_Static
      81 [ #  # ][ #  # ]:         77 : APPHELPER_XSERVICEINFO_IMPL( FilledNetChartType,
         [ #  # ][ #  # ]
                 [ #  # ]
      82                 :            :                              C2U( "com.sun.star.comp.chart.FilledNetChartType" ));
      83                 :            : 
      84                 :            : } //  namespace chart
      85                 :            : 
      86                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10