summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorEmircan Agac <thesadson@gmail.com>2021-08-05 17:25:03 +0300
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-08-10 20:59:22 +0200
commit1788dbb32fd212a716ffca4facfc421c59f9ef5a (patch)
treead45c6b6875a4e071af6213b149568d5cd8808d1 /store
parente510b3089024e451b57d6150f6f1a5a34594e376 (diff)
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@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'store')
-rw-r--r--store/source/storbios.hxx5
-rw-r--r--store/source/storcach.hxx5
-rw-r--r--store/source/stordata.hxx5
-rw-r--r--store/source/stordir.hxx5
-rw-r--r--store/source/storlckb.hxx5
-rw-r--r--store/source/storpage.hxx5
6 files changed, 6 insertions, 24 deletions
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: */