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>
This commit is contained in:
Emircan Agac
2021-08-10 20:59:22 +02:00
committed by Ilmari Lauhakangas
parent e510b30890
commit 1788dbb32f
6 changed files with 6 additions and 24 deletions
+1 -4
View File
@@ -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: */
+1 -4
View File
@@ -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: */
+1 -4
View File
@@ -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: */
+1 -4
View File
@@ -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: */
+1 -4
View File
@@ -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: */
+1 -4
View File
@@ -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: */