[Libreoffice-commits] core.git: store/source

Emircan Agac (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 10 18:59:59 UTC 2021


 store/source/storbios.hxx |    5 +----
 store/source/storcach.hxx |    5 +----
 store/source/stordata.hxx |    5 +----
 store/source/stordir.hxx  |    5 +----
 store/source/storlckb.hxx |    5 +----
 store/source/storpage.hxx |    5 +----
 6 files changed, 6 insertions(+), 24 deletions(-)

New commits:
commit 1788dbb32fd212a716ffca4facfc421c59f9ef5a
Author:     Emircan Agac <thesadson at gmail.com>
AuthorDate: Thu Aug 5 17:25:03 2021 +0300
Commit:     Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Tue Aug 10 20:59:22 2021 +0200

    tdf#143148:Use pragma once in store
    
    Change-Id: Ia12dd3d7b69a8fdfbdfa6503e1ce2ee46c9446d4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120075
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>

diff --git a/store/source/storbios.hxx b/store/source/storbios.hxx
index 6ba09a876e50..3cea84bb2494 100644
--- a/store/source/storbios.hxx
+++ b/store/source/storbios.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_STORE_SOURCE_STORBIOS_HXX
-#define INCLUDED_STORE_SOURCE_STORBIOS_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <rtl/ref.hxx>
@@ -186,6 +185,4 @@ inline bool OStorePageBIOS::isValid() const
 
 } // namespace store
 
-#endif // INCLUDED_STORE_SOURCE_STORBIOS_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/store/source/storcach.hxx b/store/source/storcach.hxx
index 7032ade7b2dd..cd4672e1980b 100644
--- a/store/source/storcach.hxx
+++ b/store/source/storcach.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_STORE_SOURCE_STORCACH_HXX
-#define INCLUDED_STORE_SOURCE_STORCACH_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -106,6 +105,4 @@ storeError PageCache_createInstance (
 
 } // namespace store
 
-#endif // INCLUDED_STORE_SOURCE_STORCACH_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/store/source/stordata.hxx b/store/source/stordata.hxx
index 7662bbe3bdbe..7b5b8a0b8467 100644
--- a/store/source/stordata.hxx
+++ b/store/source/stordata.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_STORE_SOURCE_STORDATA_HXX
-#define INCLUDED_STORE_SOURCE_STORDATA_HXX
+#pragma once
 
 #include <sal/config.h>
 
@@ -746,6 +745,4 @@ private:
 
 } // namespace store
 
-#endif // INCLUDED_STORE_SOURCE_STORDATA_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/store/source/stordir.hxx b/store/source/stordir.hxx
index f9845bc295eb..6d0011124378 100644
--- a/store/source/stordir.hxx
+++ b/store/source/stordir.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_STORE_SOURCE_STORDIR_HXX
-#define INCLUDED_STORE_SOURCE_STORDIR_HXX
+#pragma once
 
 #include <sal/types.h>
 
@@ -110,6 +109,4 @@ SAL_CALL query (OStoreObject *pHandle, SAL_UNUSED_PARAMETER OStoreDirectory_Impl
 
 } // namespace store
 
-#endif // INCLUDED_STORE_SOURCE_STORDIR_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/store/source/storlckb.hxx b/store/source/storlckb.hxx
index b31bcd28de6e..7d4231dc08f3 100644
--- a/store/source/storlckb.hxx
+++ b/store/source/storlckb.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_STORE_SOURCE_STORLCKB_HXX
-#define INCLUDED_STORE_SOURCE_STORLCKB_HXX
+#pragma once
 
 #include <sal/types.h>
 
@@ -135,6 +134,4 @@ SAL_CALL query (OStoreObject *pHandle, SAL_UNUSED_PARAMETER OStoreLockBytes*)
 
 } // namespace store
 
-#endif // INCLUDED_STORE_SOURCE_STORLCKB_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/store/source/storpage.hxx b/store/source/storpage.hxx
index 4a03c736c495..46c61763964b 100644
--- a/store/source/storpage.hxx
+++ b/store/source/storpage.hxx
@@ -17,8 +17,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#ifndef INCLUDED_STORE_SOURCE_STORPAGE_HXX
-#define INCLUDED_STORE_SOURCE_STORPAGE_HXX
+#pragma once
 
 #include <sal/types.h>
 #include <rtl/string.h>
@@ -153,6 +152,4 @@ SAL_CALL query (OStoreObject *pHandle, SAL_UNUSED_PARAMETER OStorePageManager*)
 
 } // namespace store
 
-#endif // INCLUDED_STORE_SOURCE_STORPAGE_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list