tdf#143148: Use pragma once instead of include guards
- Convert include guards to #pragma once in salhelper, starmath, tools, ucb, and o3tl. - Kept changes minimal to a small cross-module batch as requested by the easyHack guidance. - Verified with: container=1 make -j4 o3tl.build salhelper.build starmath.build tools.build ucb.build Change-Id: Ic047061433985e12be41bdb6463ac4c8e8969ddd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/204555 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
This commit is contained in:
committed by
Julien Nabet
parent
13fe616b01
commit
5c812142b2
@@ -17,8 +17,7 @@
|
|||||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDED_O3TL_QA_COW_WRAPPER_CLIENTS_HXX
|
#pragma once
|
||||||
#define INCLUDED_O3TL_QA_COW_WRAPPER_CLIENTS_HXX
|
|
||||||
|
|
||||||
#include <sal/types.h>
|
#include <sal/types.h>
|
||||||
#include <o3tl/cow_wrapper.hxx>
|
#include <o3tl/cow_wrapper.hxx>
|
||||||
@@ -207,6 +206,4 @@ inline std::basic_ostream<charT, traits> & operator <<(
|
|||||||
|
|
||||||
} // namespace o3tltests
|
} // namespace o3tltests
|
||||||
|
|
||||||
#endif // INCLUDED_O3TL_QA_COW_WRAPPER_CLIENTS_HXX
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
|||||||
@@ -17,8 +17,7 @@
|
|||||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDED_SALHELPER_TEST_SYMBOLS_SAMPLELIB_HXX
|
#pragma once
|
||||||
#define INCLUDED_SALHELPER_TEST_SYMBOLS_SAMPLELIB_HXX
|
|
||||||
|
|
||||||
#include <sal/types.h>
|
#include <sal/types.h>
|
||||||
|
|
||||||
@@ -35,6 +34,4 @@ typedef SampleLib_Api* (*InitSampleLib_Api)(void);
|
|||||||
sal_Int32 funcA(sal_Int32 a);
|
sal_Int32 funcA(sal_Int32 a);
|
||||||
double funcB(double a);
|
double funcB(double a);
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
|||||||
@@ -7,8 +7,7 @@
|
|||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDED_STARMATH_QA_CPPUNIT_MOCK_VISITOR_HXX
|
#pragma once
|
||||||
#define INCLUDED_STARMATH_QA_CPPUNIT_MOCK_VISITOR_HXX
|
|
||||||
|
|
||||||
#include <cppunit/TestAssert.h>
|
#include <cppunit/TestAssert.h>
|
||||||
#include <visitors.hxx>
|
#include <visitors.hxx>
|
||||||
@@ -187,6 +186,4 @@ private:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
|||||||
@@ -7,8 +7,7 @@
|
|||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_TOOLS_QA_CPPUNIT_TEST_CPU_RUNTIME_DETECTION_X86_CHECKS_H
|
#pragma once
|
||||||
#define INCLUDE_TOOLS_QA_CPPUNIT_TEST_CPU_RUNTIME_DETECTION_X86_CHECKS_H
|
|
||||||
|
|
||||||
class CpuRuntimeDetectionX86Checks
|
class CpuRuntimeDetectionX86Checks
|
||||||
{
|
{
|
||||||
@@ -18,6 +17,4 @@ public:
|
|||||||
static void checkSSSE3();
|
static void checkSSSE3();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
|||||||
@@ -7,8 +7,7 @@
|
|||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_PROPFINDCACHE_HXX
|
#pragma once
|
||||||
#define INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_PROPFINDCACHE_HXX
|
|
||||||
|
|
||||||
#include <sal/types.h>
|
#include <sal/types.h>
|
||||||
#include <rtl/ustring.hxx>
|
#include <rtl/ustring.hxx>
|
||||||
@@ -75,6 +74,4 @@ namespace http_dav_ucp
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
|
||||||
|
|||||||
Reference in New Issue
Block a user