LCOV - code coverage report
Current view: top level - chart2/source/model/template - AreaChartType.cxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 13 18 72.2 %
Date: 2014-04-11 Functions: 6 11 54.5 %
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 "AreaChartType.hxx"
      21             : #include "macros.hxx"
      22             : #include "servicenames_charttypes.hxx"
      23             : 
      24             : using namespace ::com::sun::star;
      25             : 
      26             : namespace chart
      27             : {
      28             : 
      29        6419 : AreaChartType::AreaChartType(
      30             :     const uno::Reference< uno::XComponentContext > & xContext ) :
      31        6419 :         ChartType( xContext )
      32        6419 : {}
      33             : 
      34           0 : AreaChartType::AreaChartType( const AreaChartType & rOther ) :
      35           0 :         ChartType( rOther )
      36           0 : {}
      37             : 
      38       12838 : AreaChartType::~AreaChartType()
      39       12838 : {}
      40             : 
      41             : // ____ XCloneable ____
      42           0 : uno::Reference< util::XCloneable > SAL_CALL AreaChartType::createClone()
      43             :     throw (uno::RuntimeException, std::exception)
      44             : {
      45           0 :     return uno::Reference< util::XCloneable >( new AreaChartType( *this ));
      46             : }
      47             : 
      48             : // ____ XChartType ____
      49       14848 : OUString SAL_CALL AreaChartType::getChartType()
      50             :     throw (uno::RuntimeException, std::exception)
      51             : {
      52       14848 :     return CHART2_SERVICE_NAME_CHARTTYPE_AREA;
      53             : }
      54             : 
      55          11 : uno::Sequence< OUString > AreaChartType::getSupportedServiceNames_Static()
      56             : {
      57          11 :     uno::Sequence< OUString > aServices( 2 );
      58          11 :     aServices[ 0 ] = CHART2_SERVICE_NAME_CHARTTYPE_AREA;
      59          11 :     aServices[ 1 ] = "com.sun.star.chart2.ChartType";
      60          11 :     return aServices;
      61             : }
      62             : 
      63             : // implement XServiceInfo methods basing upon getSupportedServiceNames_Static
      64         107 : APPHELPER_XSERVICEINFO_IMPL( AreaChartType,
      65             :                              OUString("com.sun.star.comp.chart.AreaChartType") );
      66             : 
      67             : } //  namespace chart
      68             : 
      69             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10