LCOV - code coverage report
Current view: top level - include/toolkit/controls - geometrycontrolmodel_impl.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 17 17 100.0 %
Date: 2014-11-03 Functions: 41 174 23.6 %
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             : // no include protection. This is included from within geometrycontrolmodel.hxx only
      21             : 
      22             : 
      23             : //= OGeometryControlModel
      24             : 
      25             : 
      26             : template <class CONTROLMODEL>
      27         104 : OGeometryControlModel<CONTROLMODEL>::OGeometryControlModel( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& i_factory )
      28         104 :     :OGeometryControlModel_Base(new CONTROLMODEL( i_factory ) )
      29             : {
      30         104 : }
      31             : 
      32             : 
      33             : template <class CONTROLMODEL>
      34           4 : OGeometryControlModel<CONTROLMODEL>::OGeometryControlModel(::com::sun::star::uno::Reference< ::com::sun::star::util::XCloneable >& _rxAggregateInstance)
      35           4 :     :OGeometryControlModel_Base(_rxAggregateInstance)
      36             : {
      37           4 : }
      38             : 
      39             : 
      40             : template <class CONTROLMODEL>
      41       19860 : ::cppu::IPropertyArrayHelper& SAL_CALL OGeometryControlModel<CONTROLMODEL>::getInfoHelper()
      42             : {
      43       19860 :     return *this->getArrayHelper();
      44             : }
      45             : 
      46             : 
      47             : template <class CONTROLMODEL>
      48          28 : void OGeometryControlModel<CONTROLMODEL>::fillProperties(::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& _rProps, ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& _rAggregateProps) const
      49             : {
      50             :     // our own properties
      51          28 :     OPropertyContainer::describeProperties(_rProps);
      52             :     // the aggregate properties
      53          28 :     if (m_xAggregateSet.is())
      54          28 :         _rAggregateProps = m_xAggregateSet->getPropertySetInfo()->getProperties();
      55          28 : }
      56             : 
      57             : 
      58             : template <class CONTROLMODEL>
      59           4 : ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL OGeometryControlModel<CONTROLMODEL>::getImplementationId(  ) throw (::com::sun::star::uno::RuntimeException, std::exception)
      60             : {
      61           4 :     return css::uno::Sequence<sal_Int8>();
      62             : }
      63             : 
      64             : 
      65             : template <class CONTROLMODEL>
      66           4 : OGeometryControlModel_Base* OGeometryControlModel<CONTROLMODEL>::createClone_Impl(
      67             :     ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloneable >& _rxAggregateInstance)
      68             : {
      69           4 :     return new OGeometryControlModel<CONTROLMODEL>(_rxAggregateInstance);
      70             : }
      71             : 
      72             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10