tdf#143148 Use pragma once instead of include guards

Change-Id: I5a88b699425a37b914a71400e918965a9f6116eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146730
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
buldi 2023-02-09 22:53:12 +01:00 committed by Julien Nabet
parent a047583f76
commit 8ca611b212
2 changed files with 2 additions and 8 deletions

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_PYUNO_SOURCE_MODULE_PYUNO_IMPL_HXX
#define INCLUDED_PYUNO_SOURCE_MODULE_PYUNO_IMPL_HXX
#pragma once
#if defined(_MSC_VER)
// Workaround for some horrible hypot() mess
@ -300,6 +299,4 @@ void decreaseRefCount( PyInterpreterState *interpreter, PyObject *object );
}
#endif
/* 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_REGISTRY_INC_REGAPI_HXX
#define INCLUDED_REGISTRY_INC_REGAPI_HXX
#pragma once
#include <rtl/ustring.h>
#include <registry/regtype.h>
@ -85,6 +84,4 @@ REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_closeRegistry(RegHandle hRegistry);
*/
REG_DLLPUBLIC RegError REGISTRY_CALLTYPE reg_dumpRegistry(RegKeyHandle hKey);
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */