diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2022-01-09 06:29:09 +1100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2022-07-03 09:13:11 +0200 |
commit | c28455b899fa7e9d88f843cd59663aa522a28a33 (patch) | |
tree | fb4dd775f2c66957e65f439f57ef89e5fa9af78b /store | |
parent | dcdf970684131cd60af3c5b927a1e05ba6c7ba81 (diff) |
tdf#143148 store: Use pragma once instead of include guards
Change-Id: Ic07c02bfbde9cedd397ed5913a26d5add1fdda5a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128171
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'store')
-rw-r--r-- | store/source/lockbyte.hxx | 5 | ||||
-rw-r--r-- | store/source/object.hxx | 5 | ||||
-rw-r--r-- | store/source/storbase.hxx | 5 | ||||
-rw-r--r-- | store/source/stortree.hxx | 5 |
4 files changed, 4 insertions, 16 deletions
diff --git a/store/source/lockbyte.hxx b/store/source/lockbyte.hxx index 04634328a922..41c6145f1674 100644 --- a/store/source/lockbyte.hxx +++ b/store/source/lockbyte.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_STORE_SOURCE_LOCKBYTE_HXX -#define INCLUDED_STORE_SOURCE_LOCKBYTE_HXX +#pragma once #include <sal/config.h> @@ -152,6 +151,4 @@ storeError MemoryLockBytes_createInstance ( } // namespace store -#endif // INCLUDED_STORE_SOURCE_LOCKBYTE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/object.hxx b/store/source/object.hxx index b450d7446ff4..c68f9b8f8a11 100644 --- a/store/source/object.hxx +++ b/store/source/object.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_STORE_SOURCE_OBJECT_HXX -#define INCLUDED_STORE_SOURCE_OBJECT_HXX +#pragma once #include <sal/types.h> #include <salhelper/simplereferenceobject.hxx> @@ -52,6 +51,4 @@ store_handle_type* SAL_CALL query(OStoreObject* pHandle, store_handle_type*); } // namespace store -#endif // INCLUDED_STORE_SOURCE_OBJECT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/storbase.hxx b/store/source/storbase.hxx index 20f6f3245638..4963ee2ddcfb 100644 --- a/store/source/storbase.hxx +++ b/store/source/storbase.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_STORE_SOURCE_STORBASE_HXX -#define INCLUDED_STORE_SOURCE_STORBASE_HXX +#pragma once #include <sal/config.h> #include <salhelper/simplereferenceobject.hxx> @@ -605,6 +604,4 @@ inline sal_uInt32 OStorePageObject::location() const } // namespace store -#endif // INCLUDED_STORE_SOURCE_STORBASE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/store/source/stortree.hxx b/store/source/stortree.hxx index 9eeb8dfcae4e..609d1d1ba8d3 100644 --- a/store/source/stortree.hxx +++ b/store/source/stortree.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_STORE_SOURCE_STORTREE_HXX -#define INCLUDED_STORE_SOURCE_STORTREE_HXX +#pragma once #include <sal/config.h> @@ -246,6 +245,4 @@ private: } // namespace store -#endif // INCLUDED_STORE_SOURCE_STORTREE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |