diff options
author | princesinghtomar <singhtomarprince470@gmail.com> | 2020-12-30 18:05:55 +0530 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-01-19 15:25:22 +0100 |
commit | 83f92f0c567ddba9715b2a48836fae78144aa0fd (patch) | |
tree | 1c1f1370d9cc6bd65d3928012f68aba9c13d2972 /include | |
parent | 98edfb02b2a755d9758bfac2374c0bc8dcebc504 (diff) |
tdf#124176 Use pragma once instead of include guards
Change-Id: I44a269b5c01f044880b07aaa6d7e9ee369d98f54
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108506
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/store/store.h | 8 | ||||
-rw-r--r-- | include/store/store.hxx | 5 | ||||
-rw-r--r-- | include/store/storedllapi.h | 5 | ||||
-rw-r--r-- | include/store/types.h | 5 |
4 files changed, 4 insertions, 19 deletions
diff --git a/include/store/store.h b/include/store/store.h index 7da4901a09dd..2fdfa4a302d7 100644 --- a/include/store/store.h +++ b/include/store/store.h @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_STORE_STORE_H -#define INCLUDED_STORE_STORE_H +#pragma once #include <store/storedllapi.h> #include <store/types.h> @@ -215,9 +214,4 @@ STORE_DLLPUBLIC storeError store_remove ( } #endif -#endif // INCLUDED_STORE_STORE_H - - - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/store/store.hxx b/include/store/store.hxx index c4f4ce6db5fb..d32ceefbe76b 100644 --- a/include/store/store.hxx +++ b/include/store/store.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_STORE_STORE_HXX -#define INCLUDED_STORE_STORE_HXX +#pragma once #include <store/store.h> #include <sal/types.h> @@ -351,6 +350,4 @@ private: } // namespace store -#endif /* ! INCLUDED_STORE_STORE_HXX */ - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/store/storedllapi.h b/include/store/storedllapi.h index 0b07462adb30..14a0d2feb2ee 100644 --- a/include/store/storedllapi.h +++ b/include/store/storedllapi.h @@ -16,8 +16,7 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_STORE_STOREDLLAPI_H -#define INCLUDED_STORE_STOREDLLAPI_H +#pragma once #include <sal/types.h> @@ -27,6 +26,4 @@ #define STORE_DLLPUBLIC SAL_DLLPUBLIC_IMPORT #endif -#endif // INCLUDED_STORE_STOREDLLAPI_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/store/types.h b/include/store/types.h index 309456c3cce8..7abf012ea516 100644 --- a/include/store/types.h +++ b/include/store/types.h @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_STORE_TYPES_H -#define INCLUDED_STORE_TYPES_H +#pragma once #include <sal/types.h> @@ -128,6 +127,4 @@ typedef struct } #endif -#endif // INCLUDED_STORE_TYPES_H - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |