LCOV - code coverage report
Current view: top level - cppuhelper/source - compat.cxx (source / functions) Hit Total Coverage
Test: commit 0e63ca4fde4e446f346e35849c756a30ca294aab Lines: 0 16 0.0 %
Date: 2014-04-11 Functions: 0 8 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 "sal/config.h"
      21             : 
      22             : #include <cstdlib>
      23             : 
      24             : #include "com/sun/star/loader/CannotActivateFactoryException.hpp"
      25             : #include "com/sun/star/uno/Exception.hpp"
      26             : #include "com/sun/star/uno/Reference.hxx"
      27             : #include "com/sun/star/uno/Sequence.hxx"
      28             : #include "osl/module.h"
      29             : #include "sal/types.h"
      30             : 
      31             : namespace com { namespace sun { namespace star {
      32             :     namespace lang {
      33             :         class XMultiComponentFactory;
      34             :         class XMultiServiceFactory;
      35             :     }
      36             :     namespace reflection { class XIdlClass; }
      37             :     namespace registry {
      38             :         class XRegistryKey;
      39             :         class XSimpleRegistry;
      40             :     }
      41             :     namespace uno {
      42             :         class XComponentContext;
      43             :         class XInterface;
      44             :     }
      45             : } } }
      46             : namespace rtl { class OUString; }
      47             : 
      48             : // Stubs for removed functionality, to be killed when we bump cppuhelper SONAME
      49             : 
      50             : namespace cppu {
      51             : 
      52             : SAL_DLLPUBLIC_EXPORT
      53           0 : css::uno::Reference< css::lang::XMultiComponentFactory > bootstrapInitialSF(
      54             :     rtl::OUString const &) SAL_THROW((com::sun::star::uno::Exception))
      55             : {
      56           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      57             : }
      58             : 
      59             : SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::uno::XComponentContext > SAL_CALL
      60           0 : bootstrap_InitialComponentContext(
      61             :     css::uno::Reference< css::registry::XSimpleRegistry > const &,
      62             :     rtl::OUString const &) SAL_THROW((css::uno::Exception))
      63             : {
      64           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      65             : }
      66             : 
      67             : SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::registry::XSimpleRegistry >
      68           0 : SAL_CALL createNestedRegistry(rtl::OUString const &) SAL_THROW(()) {
      69           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      70             : }
      71             : 
      72             : SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::lang::XMultiServiceFactory >
      73           0 : SAL_CALL createRegistryServiceFactory(
      74             :     rtl::OUString const &, rtl::OUString const &, sal_Bool,
      75             :     rtl::OUString const &) SAL_THROW((css::uno::Exception))
      76             : {
      77           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      78             : }
      79             : 
      80             : SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::registry::XSimpleRegistry >
      81           0 : SAL_CALL createSimpleRegistry(rtl::OUString const &) SAL_THROW(()) {
      82           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      83             : }
      84             : 
      85             : SAL_DLLPUBLIC_EXPORT css::reflection::XIdlClass * SAL_CALL
      86           0 : createStandardClassWithSequence(
      87             :     css::uno::Reference< css::lang::XMultiServiceFactory > const &,
      88             :     rtl::OUString const &,
      89             :     css::uno::Reference< css::reflection::XIdlClass > const &,
      90             :     css::uno::Sequence< rtl::OUString > const &) SAL_THROW(())
      91             : {
      92           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      93             : }
      94             : 
      95             : SAL_DLLPUBLIC_EXPORT css::uno::Reference<css::uno::XInterface> SAL_CALL
      96           0 : invokeStaticComponentFactory(
      97             :     oslGenericFunction, rtl::OUString const &,
      98             :     css::uno::Reference<css::lang::XMultiServiceFactory> const &,
      99             :     css::uno::Reference<css::registry::XRegistryKey> const &,
     100             :     rtl::OUString const &)
     101             :     SAL_THROW((css::loader::CannotActivateFactoryException))
     102             : {
     103           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
     104             : }
     105             : 
     106             : SAL_DLLPUBLIC_EXPORT css::uno::Reference<css::uno::XInterface> SAL_CALL
     107           0 : loadSharedLibComponentFactory(
     108             :     rtl::OUString const &, rtl::OUString const &, rtl::OUString const &,
     109             :     css::uno::Reference<css::lang::XMultiServiceFactory> const &,
     110             :     css::uno::Reference<css::registry::XRegistryKey> const &,
     111             :     rtl::OUString const &)
     112             :     SAL_THROW((css::loader::CannotActivateFactoryException))
     113             : {
     114           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
     115             : }
     116             : 
     117             : }
     118             : 
     119             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10