Branch data 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 : :
10 : : // The whole purpose of this test is to check that public cppuhelper/ headers
11 : : // build even without RTL_USING (which enables using e.g. rtl::OUString
12 : : // without to refer to the rtl namespace, which is not wanted
13 : : // in public API). If there are build errors here, check the headers
14 : : // for uses of such types.
15 : :
16 : : #ifdef RTL_USING
17 : : #error Build system problem, RTL_USING using should not be set here.
18 : : #endif
19 : :
20 : : #include "cppuhelper_allheaders.hxx"
21 : :
22 : : // This module contains no tests, this is for the build system.
23 : : #include <cppunit/plugin/TestPlugIn.h>
24 [ + - ][ + - ]: 5 : CPPUNIT_PLUGIN_IMPLEMENT();
[ + - ][ # # ]
25 : 0 : extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL firstfunc( sal_Bool bRes )
26 : : {
27 : 0 : return ( bRes = sal_True );
28 : : }
29 : :
30 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|