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 sal/ 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 : // This module contains no tests, this is for the build system.
21 : #include <cppunit/plugin/TestPlugIn.h>
22 :
23 : #include "sal_allheaders.hxx"
24 :
25 1 : CPPUNIT_PLUGIN_IMPLEMENT();
26 0 : extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL firstfunc( sal_Bool bRes )
27 : {
28 0 : return ( bRes = sal_True );
29 : }
30 :
31 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|