diff options
-rw-r--r-- | cppu/qa/checkapi/strings.cxx | 30 | ||||
-rw-r--r-- | cppuhelper/qa/checkapi/strings.cxx | 30 | ||||
-rw-r--r-- | sal/qa/checkapi/strings.cxx | 31 | ||||
-rw-r--r-- | salhelper/qa/checkapi/strings.cxx | 30 |
4 files changed, 0 insertions, 121 deletions
diff --git a/cppu/qa/checkapi/strings.cxx b/cppu/qa/checkapi/strings.cxx deleted file mode 100644 index 0d359124ebfb..000000000000 --- a/cppu/qa/checkapi/strings.cxx +++ /dev/null @@ -1,30 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - */ - -// The whole purpose of this test is to check that public cppu/ headers -// build even without RTL_USING (which enables using e.g. rtl::OUString -// without to refer to the rtl namespace, which is not wanted -// in public API). If there are build errors here, check the headers -// for uses of such types. - -#ifdef RTL_USING -#error Build system problem, RTL_USING using should not be set here. -#endif - -#include "cppu_allheaders.hxx" - -// This module contains no tests, this is for the build system. -#include <cppunit/plugin/TestPlugIn.h> -CPPUNIT_PLUGIN_IMPLEMENT(); -extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL firstfunc( sal_Bool bRes ) -{ - return ( bRes = sal_True ); -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cppuhelper/qa/checkapi/strings.cxx b/cppuhelper/qa/checkapi/strings.cxx deleted file mode 100644 index 9a5c65ac9d53..000000000000 --- a/cppuhelper/qa/checkapi/strings.cxx +++ /dev/null @@ -1,30 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - */ - -// The whole purpose of this test is to check that public cppuhelper/ headers -// build even without RTL_USING (which enables using e.g. rtl::OUString -// without to refer to the rtl namespace, which is not wanted -// in public API). If there are build errors here, check the headers -// for uses of such types. - -#ifdef RTL_USING -#error Build system problem, RTL_USING using should not be set here. -#endif - -#include "cppuhelper_allheaders.hxx" - -// This module contains no tests, this is for the build system. -#include <cppunit/plugin/TestPlugIn.h> -CPPUNIT_PLUGIN_IMPLEMENT(); -extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL firstfunc( sal_Bool bRes ) -{ - return ( bRes = sal_True ); -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sal/qa/checkapi/strings.cxx b/sal/qa/checkapi/strings.cxx deleted file mode 100644 index 9e11ea27bc48..000000000000 --- a/sal/qa/checkapi/strings.cxx +++ /dev/null @@ -1,31 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - */ - -// The whole purpose of this test is to check that public sal/ headers -// build even without RTL_USING (which enables using e.g. rtl::OUString -// without to refer to the rtl namespace, which is not wanted -// in public API). If there are build errors here, check the headers -// for uses of such types. - -#ifdef RTL_USING -#error Build system problem, RTL_USING using should not be set here. -#endif - -// This module contains no tests, this is for the build system. -#include <cppunit/plugin/TestPlugIn.h> - -#include "sal_allheaders.hxx" - -CPPUNIT_PLUGIN_IMPLEMENT(); -extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL firstfunc( sal_Bool ) -{ - return sal_True; -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/salhelper/qa/checkapi/strings.cxx b/salhelper/qa/checkapi/strings.cxx deleted file mode 100644 index 6b634300c112..000000000000 --- a/salhelper/qa/checkapi/strings.cxx +++ /dev/null @@ -1,30 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - */ - -// The whole purpose of this test is to check that public salhelper/ headers -// build even without RTL_USING (which enables using e.g. rtl::OUString -// without to refer to the rtl namespace, which is not wanted -// in public API). If there are build errors here, check the headers -// for uses of such types. - -#ifdef RTL_USING -#error Build system problem, RTL_USING using should not be set here. -#endif - -#include "salhelper_allheaders.hxx" - -// This module contains no tests, this is for the build system. -#include <cppunit/plugin/TestPlugIn.h> -CPPUNIT_PLUGIN_IMPLEMENT(); -extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL firstfunc( sal_Bool bRes ) -{ - return ( bRes = sal_True ); -} - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |