diff options
author | psidiumcode <lbrmk.510@rgn4d.neomailbox.ch> | 2022-02-15 23:20:06 +0200 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2022-02-17 19:05:45 +0100 |
commit | b69dc9faac1bc5409f43160228703108a002ed11 (patch) | |
tree | 7fe81881c9d0a5f03086fc1552c051b2b334f1be /dbaccess | |
parent | de4d89160e48dda88d1a0e05cee28bb1551355b4 (diff) |
tdf#143148 Use pragma once instead of include guards
Change-Id: I5a946c9db1b3ca91fa9d59d0d742c9b30782ed00
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129978
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/inc/core_resource.hxx | 5 | ||||
-rw-r--r-- | dbaccess/inc/dbadllapi.hxx | 5 | ||||
-rw-r--r-- | dbaccess/source/inc/OAuthenticationContinuation.hxx | 5 | ||||
-rw-r--r-- | dbaccess/source/inc/apitools.hxx | 5 | ||||
-rw-r--r-- | dbaccess/source/inc/dsntypes.hxx | 5 | ||||
-rw-r--r-- | dbaccess/source/inc/stringconstants.hxx | 5 |
6 files changed, 6 insertions, 24 deletions
diff --git a/dbaccess/inc/core_resource.hxx b/dbaccess/inc/core_resource.hxx index 99cbb34d6d2a..0f7a6ba3eef7 100644 --- a/dbaccess/inc/core_resource.hxx +++ b/dbaccess/inc/core_resource.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_CORE_INC_CORE_RESOURCE_HXX -#define INCLUDED_DBACCESS_SOURCE_CORE_INC_CORE_RESOURCE_HXX +#pragma once #include <rtl/ustring.hxx> #include "dbadllapi.hxx" @@ -66,6 +65,4 @@ namespace dbaccess }; } -#endif // INCLUDED_DBACCESS_SOURCE_CORE_INC_CORE_RESOURCE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/inc/dbadllapi.hxx b/dbaccess/inc/dbadllapi.hxx index 6388e579b36a..d742b9a3b1e9 100644 --- a/dbaccess/inc/dbadllapi.hxx +++ b/dbaccess/inc/dbadllapi.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_INC_DBADLLAPI_HXX -#define INCLUDED_DBACCESS_SOURCE_INC_DBADLLAPI_HXX +#pragma once #include <sal/config.h> @@ -30,6 +29,4 @@ #define OOO_DLLPUBLIC_DBA SAL_DLLPUBLIC_IMPORT #endif -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/inc/OAuthenticationContinuation.hxx b/dbaccess/source/inc/OAuthenticationContinuation.hxx index 0812c46f8baa..d1eac7b54a23 100644 --- a/dbaccess/source/inc/OAuthenticationContinuation.hxx +++ b/dbaccess/source/inc/OAuthenticationContinuation.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_INC_OAUTHENTICATIONCONTINUATION_HXX -#define INCLUDED_DBACCESS_SOURCE_INC_OAUTHENTICATIONCONTINUATION_HXX +#pragma once #include <dbadllapi.hxx> @@ -65,6 +64,4 @@ public: } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_INC_OAUTHENTICATIONCONTINUATION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/inc/apitools.hxx b/dbaccess/source/inc/apitools.hxx index 17e002761e0b..7438c08725dc 100644 --- a/dbaccess/source/inc/apitools.hxx +++ b/dbaccess/source/inc/apitools.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_INC_APITOOLS_HXX -#define INCLUDED_DBACCESS_SOURCE_INC_APITOOLS_HXX +#pragma once #include <sal/config.h> @@ -50,6 +49,4 @@ public: }; -#endif // INCLUDED_DBACCESS_SOURCE_INC_APITOOLS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/inc/dsntypes.hxx b/dbaccess/source/inc/dsntypes.hxx index 871db0a1fe27..875d781d1fd1 100644 --- a/dbaccess/source/inc/dsntypes.hxx +++ b/dbaccess/source/inc/dsntypes.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_INC_DSNTYPES_HXX -#define INCLUDED_DBACCESS_SOURCE_INC_DSNTYPES_HXX +#pragma once #include <sal/config.h> @@ -216,6 +215,4 @@ inline ODsnTypeCollection::TypeIterator ODsnTypeCollection::end() const { return } // namespace dbaccess -#endif // INCLUDED_DBACCESS_SOURCE_INC_DSNTYPES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/dbaccess/source/inc/stringconstants.hxx b/dbaccess/source/inc/stringconstants.hxx index 9b7e732fee8f..1f20962a78a3 100644 --- a/dbaccess/source/inc/stringconstants.hxx +++ b/dbaccess/source/inc/stringconstants.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DBACCESS_SOURCE_INC_STRINGCONSTANTS_HRC -#define INCLUDED_DBACCESS_SOURCE_INC_STRINGCONSTANTS_HRC +#pragma once // property ids @@ -169,6 +168,4 @@ #define PROPERTY_ID_PROPCHANGE_NOTIFY 146 #define PROPERTY_ID_AUTOGROW 147 -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |