diff options
author | George Bateman <george.bateman16@gmail.com> | 2020-08-04 21:15:24 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-04 09:00:08 +0200 |
commit | 505795db3fa8cd5bb9868ff99f9a8cdf268f4c0b (patch) | |
tree | f075e393daded8d89b6978487f11d7b57753db2a /bridges/inc | |
parent | tdf#124176 Use #pragma once in binaryurp (diff) | |
download | core-505795db3fa8cd5bb9868ff99f9a8cdf268f4c0b.tar.gz core-505795db3fa8cd5bb9868ff99f9a8cdf268f4c0b.zip |
tdf#124176 Use #pragma once in bridges
This commit was carried out by a Python script, source of which
is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97.
Change-Id: Icadf43a74e4ba99e587a1e6287adf8d65f819ca1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100144
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'bridges/inc')
-rw-r--r-- | bridges/inc/bridge.hxx | 5 | ||||
-rw-r--r-- | bridges/inc/cppinterfaceproxy.hxx | 5 | ||||
-rw-r--r-- | bridges/inc/except.hxx | 5 | ||||
-rw-r--r-- | bridges/inc/types.hxx | 5 | ||||
-rw-r--r-- | bridges/inc/unointerfaceproxy.hxx | 5 | ||||
-rw-r--r-- | bridges/inc/vtablefactory.hxx | 5 | ||||
-rw-r--r-- | bridges/inc/vtables.hxx | 5 |
7 files changed, 7 insertions, 28 deletions
diff --git a/bridges/inc/bridge.hxx b/bridges/inc/bridge.hxx index 5229c1d4ad5f..0a6da78859ca 100644 --- a/bridges/inc/bridge.hxx +++ b/bridges/inc/bridge.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BRIDGES_INC_BRIDGE_HXX -#define INCLUDED_BRIDGES_INC_BRIDGE_HXX +#pragma once #include <sal/config.h> @@ -114,6 +113,4 @@ private: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/bridges/inc/cppinterfaceproxy.hxx b/bridges/inc/cppinterfaceproxy.hxx index 145886436313..73175d842df1 100644 --- a/bridges/inc/cppinterfaceproxy.hxx +++ b/bridges/inc/cppinterfaceproxy.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BRIDGES_INC_CPPINTERFACEPROXY_HXX -#define INCLUDED_BRIDGES_INC_CPPINTERFACEPROXY_HXX +#pragma once #include <sal/config.h> @@ -96,6 +95,4 @@ private: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/bridges/inc/except.hxx b/bridges/inc/except.hxx index 4b90ee1e1119..7d7db224f87d 100644 --- a/bridges/inc/except.hxx +++ b/bridges/inc/except.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BRIDGES_INC_EXCEPT_HXX -#define INCLUDED_BRIDGES_INC_EXCEPT_HXX +#pragma once // extern "C" void** __cdecl __current_exception() // is defined in MSVS14.0/VC/crt/src/vcruntime/frame.cpp: @@ -34,6 +33,4 @@ //[...] extern "C" void** __current_exception(); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/bridges/inc/types.hxx b/bridges/inc/types.hxx index 03c24966ba0b..d35529342672 100644 --- a/bridges/inc/types.hxx +++ b/bridges/inc/types.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BRIDGES_INC_TYPES_HXX -#define INCLUDED_BRIDGES_INC_TYPES_HXX +#pragma once #include <typelib/typeclass.h> #include <typelib/typedescription.h> @@ -66,6 +65,4 @@ bool relatesToInterfaceType(typelib_TypeDescription const * type); } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/bridges/inc/unointerfaceproxy.hxx b/bridges/inc/unointerfaceproxy.hxx index 5b9ad042367d..b00d6ad61366 100644 --- a/bridges/inc/unointerfaceproxy.hxx +++ b/bridges/inc/unointerfaceproxy.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BRIDGES_INC_UNOINTERFACEPROXY_HXX -#define INCLUDED_BRIDGES_INC_UNOINTERFACEPROXY_HXX +#pragma once #include <sal/config.h> @@ -103,6 +102,4 @@ private: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/bridges/inc/vtablefactory.hxx b/bridges/inc/vtablefactory.hxx index f64cdd86e1a5..c169f7c0bfd0 100644 --- a/bridges/inc/vtablefactory.hxx +++ b/bridges/inc/vtablefactory.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BRIDGES_INC_VTABLEFACTORY_HXX -#define INCLUDED_BRIDGES_INC_VTABLEFACTORY_HXX +#pragma once #include <osl/mutex.hxx> #include <rtl/alloc.h> @@ -219,6 +218,4 @@ private: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/bridges/inc/vtables.hxx b/bridges/inc/vtables.hxx index 5f6af1a9e3ea..2dc604f0a64f 100644 --- a/bridges/inc/vtables.hxx +++ b/bridges/inc/vtables.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_BRIDGES_INC_VTABLES_HXX -#define INCLUDED_BRIDGES_INC_VTABLES_HXX +#pragma once #include <sal/types.h> #include <typelib/typedescription.h> @@ -97,6 +96,4 @@ VtableSlot getVtableSlot( } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |