tdf#124176 Use pragma once instead of include guards

Change-Id: I44a269b5c01f044880b07aaa6d7e9ee369d98f54
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108506
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
princesinghtomar 2020-12-30 18:05:55 +05:30 committed by Ilmari Lauhakangas
parent 98edfb02b2
commit 83f92f0c56
4 changed files with 4 additions and 19 deletions

View file

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_STORE_STORE_H
#define INCLUDED_STORE_STORE_H
#pragma once
#include <store/storedllapi.h>
#include <store/types.h>
@ -215,9 +214,4 @@ STORE_DLLPUBLIC storeError store_remove (
}
#endif
#endif // INCLUDED_STORE_STORE_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View file

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_STORE_STORE_HXX
#define INCLUDED_STORE_STORE_HXX
#pragma once
#include <store/store.h>
#include <sal/types.h>
@ -351,6 +350,4 @@ private:
} // namespace store
#endif /* ! INCLUDED_STORE_STORE_HXX */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View file

@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_STORE_STOREDLLAPI_H
#define INCLUDED_STORE_STOREDLLAPI_H
#pragma once
#include <sal/types.h>
@ -27,6 +26,4 @@
#define STORE_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
#endif
#endif // INCLUDED_STORE_STOREDLLAPI_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View file

@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef INCLUDED_STORE_TYPES_H
#define INCLUDED_STORE_TYPES_H
#pragma once
#include <sal/types.h>
@ -128,6 +127,4 @@ typedef struct
}
#endif
#endif // INCLUDED_STORE_TYPES_H
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */