store/source/lockbyte.hxx |    5 +----
 store/source/object.hxx   |    5 +----
 store/source/storbase.hxx |    5 +----
 store/source/stortree.hxx |    5 +----
 4 files changed, 4 insertions(+), 16 deletions(-)

New commits:
commit c28455b899fa7e9d88f843cd59663aa522a28a33
Author:     Chris Sherlock <chris.sherloc...@gmail.com>
AuthorDate: Sun Jan 9 06:29:09 2022 +1100
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Sun Jul 3 09:13:11 2022 +0200

    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 <serval2...@yahoo.fr>

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: */

Reply via email to