LCOV - code coverage report
Current view: top level - extensions/source/dbpilots - unoautopilot.inl (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 33 0.0 %
Date: 2014-11-03 Functions: 0 36 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * This file is part of the LibreOffice project.
       3             :  *
       4             :  * This Source Code Form is subject to the terms of the Mozilla Public
       5             :  * License, v. 2.0. If a copy of the MPL was not distributed with this
       6             :  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
       7             :  *
       8             :  * This file incorporates work covered by the following license notice:
       9             :  *
      10             :  *   Licensed to the Apache Software Foundation (ASF) under one or more
      11             :  *   contributor license agreements. See the NOTICE file distributed
      12             :  *   with this work for additional information regarding copyright
      13             :  *   ownership. The ASF licenses this file to you under the Apache
      14             :  *   License, Version 2.0 (the "License"); you may not use this file
      15             :  *   except in compliance with the License. You may obtain a copy of
      16             :  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
      17             :  */
      18             : 
      19             : // no include protection
      20             : // this file is included from unoautopilot.hxx directly
      21             : 
      22             : 
      23             : //= OUnoAutoPilot
      24             : 
      25             : template <class TYPE, class SERVICEINFO>
      26           0 : OUnoAutoPilot<TYPE, SERVICEINFO>::OUnoAutoPilot(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB)
      27           0 :     :OUnoAutoPilot_Base(_rxORB)
      28             : {
      29           0 : }
      30             : 
      31             : 
      32             : template <class TYPE, class SERVICEINFO>
      33           0 : ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL OUnoAutoPilot<TYPE, SERVICEINFO>::getImplementationId(  ) throw(::com::sun::star::uno::RuntimeException, std::exception)
      34             : {
      35           0 :     return css::uno::Sequence<sal_Int8>();
      36             : }
      37             : 
      38             : 
      39             : template <class TYPE, class SERVICEINFO>
      40           0 : ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL OUnoAutoPilot<TYPE, SERVICEINFO>::Create(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory)
      41             : {
      42           0 :     return *(new OUnoAutoPilot<TYPE, SERVICEINFO>( comphelper::getComponentContext(_rxFactory) ));
      43             : }
      44             : 
      45             : 
      46             : template <class TYPE, class SERVICEINFO>
      47           0 : ::rtl::OUString SAL_CALL OUnoAutoPilot<TYPE, SERVICEINFO>::getImplementationName() throw(::com::sun::star::uno::RuntimeException, std::exception)
      48             : {
      49           0 :     return getImplementationName_Static();
      50             : }
      51             : 
      52             : 
      53             : template <class TYPE, class SERVICEINFO>
      54           0 : ::rtl::OUString OUnoAutoPilot<TYPE, SERVICEINFO>::getImplementationName_Static() throw(::com::sun::star::uno::RuntimeException)
      55             : {
      56           0 :     return SERVICEINFO().getImplementationName();
      57             : }
      58             : 
      59             : 
      60             : template <class TYPE, class SERVICEINFO>
      61           0 : ::comphelper::StringSequence SAL_CALL OUnoAutoPilot<TYPE, SERVICEINFO>::getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception)
      62             : {
      63           0 :     return getSupportedServiceNames_Static();
      64             : }
      65             : 
      66             : 
      67             : template <class TYPE, class SERVICEINFO>
      68           0 : ::comphelper::StringSequence OUnoAutoPilot<TYPE, SERVICEINFO>::getSupportedServiceNames_Static() throw(::com::sun::star::uno::RuntimeException)
      69             : {
      70           0 :     return SERVICEINFO().getServiceNames();
      71             : }
      72             : 
      73             : 
      74             : template <class TYPE, class SERVICEINFO>
      75           0 : ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >  SAL_CALL OUnoAutoPilot<TYPE, SERVICEINFO>::getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException, std::exception)
      76             : {
      77           0 :     ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo >  xInfo( createPropertySetInfo( getInfoHelper() ) );
      78           0 :     return xInfo;
      79             : }
      80             : 
      81             : 
      82             : template <class TYPE, class SERVICEINFO>
      83           0 : ::cppu::IPropertyArrayHelper& OUnoAutoPilot<TYPE, SERVICEINFO>::getInfoHelper()
      84             : {
      85           0 :     return *const_cast<OUnoAutoPilot*>(this)->getArrayHelper();
      86             : }
      87             : 
      88             : 
      89             : template <class TYPE, class SERVICEINFO>
      90           0 : ::cppu::IPropertyArrayHelper* OUnoAutoPilot<TYPE, SERVICEINFO>::createArrayHelper( ) const
      91             : {
      92           0 :     ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property > aProps;
      93           0 :     describeProperties(aProps);
      94           0 :     return new ::cppu::OPropertyArrayHelper(aProps);
      95             : }
      96             : 
      97             : 
      98             : template <class TYPE, class SERVICEINFO>
      99           0 : Dialog* OUnoAutoPilot<TYPE, SERVICEINFO>::createDialog(::vcl::Window* _pParent)
     100             : {
     101           0 :     return new TYPE(_pParent, m_xObjectModel, m_aContext);
     102             : }
     103             : 
     104             : 
     105             : template <class TYPE, class SERVICEINFO>
     106           0 : void OUnoAutoPilot<TYPE, SERVICEINFO>::implInitialize(const com::sun::star::uno::Any& _rValue)
     107             : {
     108           0 :     ::com::sun::star::beans::PropertyValue aArgument;
     109           0 :     if (_rValue >>= aArgument)
     110           0 :         if (aArgument.Name.equals("ObjectModel"))
     111             :         {
     112           0 :             aArgument.Value >>= m_xObjectModel;
     113           0 :             return;
     114             :         }
     115             : 
     116           0 :     OUnoAutoPilot_Base::implInitialize(_rValue);
     117             : }
     118             : 
     119             : 

Generated by: LCOV version 1.10