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 { class XMultiServiceFactory; }
31 : namespace reflection { class XIdlClass; }
32 : namespace registry { class XSimpleRegistry; }
33 : namespace uno { class XComponentContext; }
34 : } } }
35 : namespace rtl { class OUString; }
36 :
37 : // Stubs for removed functionality, to be killed when we bump cppuhelper SONAME
38 :
39 : SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::uno::XComponentContext > SAL_CALL
40 0 : bootstrap_InitialComponentContext(
41 : css::uno::Reference< css::registry::XSimpleRegistry > const &,
42 : rtl::OUString const &) SAL_THROW((css::uno::Exception))
43 : {
44 0 : for (;;) { std::abort(); } // avoid "must return a value" warnings
45 : }
46 :
47 : SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::registry::XSimpleRegistry >
48 0 : SAL_CALL createNestedRegistry(rtl::OUString const &) SAL_THROW(()) {
49 0 : for (;;) { std::abort(); } // avoid "must return a value" warnings
50 : }
51 :
52 : SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::lang::XMultiServiceFactory >
53 0 : SAL_CALL createRegistryServiceFactory(
54 : rtl::OUString const &, rtl::OUString const &, sal_Bool,
55 : rtl::OUString const &) SAL_THROW((css::uno::Exception))
56 : {
57 0 : for (;;) { std::abort(); } // avoid "must return a value" warnings
58 : }
59 :
60 : SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::registry::XSimpleRegistry >
61 0 : SAL_CALL createSimpleRegistry(rtl::OUString const &) SAL_THROW(()) {
62 0 : for (;;) { std::abort(); } // avoid "must return a value" warnings
63 : }
64 :
65 : SAL_DLLPUBLIC_EXPORT css::reflection::XIdlClass * SAL_CALL
66 0 : createStandardClassWithSequence(
67 : css::uno::Reference< css::lang::XMultiServiceFactory > const &,
68 : rtl::OUString const &,
69 : css::uno::Reference< css::reflection::XIdlClass > const &,
70 : css::uno::Sequence< rtl::OUString > const &) SAL_THROW(())
71 : {
72 0 : for (;;) { std::abort(); } // avoid "must return a value" warnings
73 : }
74 :
75 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|