LCOV - code coverage report
Current view: top level - usr/local/src/libreoffice/cppuhelper/source - compat.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 12 0.0 %
Date: 2013-07-09 Functions: 0 6 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/uno/Exception.hpp"
      25             : #include "com/sun/star/uno/Reference.hxx"
      26             : #include "com/sun/star/uno/Sequence.hxx"
      27             : #include "sal/types.h"
      28             : 
      29             : namespace com { namespace sun { namespace star {
      30             :     namespace lang {
      31             :         class XMultiComponentFactory;
      32             :         class XMultiServiceFactory;
      33             :     }
      34             :     namespace reflection { class XIdlClass; }
      35             :     namespace registry { class XSimpleRegistry; }
      36             :     namespace uno { class XComponentContext; }
      37             : } } }
      38             : namespace rtl { class OUString; }
      39             : 
      40             : // Stubs for removed functionality, to be killed when we bump cppuhelper SONAME
      41             : 
      42             : namespace cppu {
      43             : 
      44             : SAL_DLLPUBLIC_EXPORT
      45           0 : css::uno::Reference< css::lang::XMultiComponentFactory > bootstrapInitialSF(
      46             :     rtl::OUString const &) SAL_THROW((com::sun::star::uno::Exception))
      47             : {
      48           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      49             : }
      50             : 
      51             : }
      52             : 
      53             : SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::uno::XComponentContext > SAL_CALL
      54           0 : bootstrap_InitialComponentContext(
      55             :     css::uno::Reference< css::registry::XSimpleRegistry > const &,
      56             :     rtl::OUString const &) SAL_THROW((css::uno::Exception))
      57             : {
      58           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      59             : }
      60             : 
      61             : SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::registry::XSimpleRegistry >
      62           0 : SAL_CALL createNestedRegistry(rtl::OUString const &) SAL_THROW(()) {
      63           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      64             : }
      65             : 
      66             : SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::lang::XMultiServiceFactory >
      67           0 : SAL_CALL createRegistryServiceFactory(
      68             :     rtl::OUString const &, rtl::OUString const &, sal_Bool,
      69             :     rtl::OUString const &) SAL_THROW((css::uno::Exception))
      70             : {
      71           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      72             : }
      73             : 
      74             : SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::registry::XSimpleRegistry >
      75           0 : SAL_CALL createSimpleRegistry(rtl::OUString const &) SAL_THROW(()) {
      76           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      77             : }
      78             : 
      79             : SAL_DLLPUBLIC_EXPORT css::reflection::XIdlClass * SAL_CALL
      80           0 : createStandardClassWithSequence(
      81             :     css::uno::Reference< css::lang::XMultiServiceFactory > const &,
      82             :     rtl::OUString const &,
      83             :     css::uno::Reference< css::reflection::XIdlClass > const &,
      84             :     css::uno::Sequence< rtl::OUString > const &) SAL_THROW(())
      85             : {
      86           0 :     for (;;) { std::abort(); } // avoid "must return a value" warnings
      87             : }
      88             : 
      89             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10