summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbuldi <dobrakowskirafal@gmail.com>2023-02-09 22:53:12 +0100
committerJulien Nabet <serval2412@yahoo.fr>2023-02-13 11:26:27 +0000
commit8ca611b2125a74cfdb273cfedfa3b94de14f628b (patch)
treeeb7f8b494f162428a2aa9bd04b80658b46c9190e
parentsc: avoid divide by zero in ScEEImport::GraphicSize (diff)
downloadcore-8ca611b2125a74cfdb273cfedfa3b94de14f628b.tar.gz
core-8ca611b2125a74cfdb273cfedfa3b94de14f628b.zip
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>
-rw-r--r--pyuno/source/module/pyuno_impl.hxx5
-rw-r--r--registry/inc/regapi.hxx5
2 files changed, 2 insertions, 8 deletions
diff --git a/pyuno/source/module/pyuno_impl.hxx b/pyuno/source/module/pyuno_impl.hxx
index 90e94af07401..946991c3864b 100644
--- a/pyuno/source/module/pyuno_impl.hxx
+++ b/pyuno/source/module/pyuno_impl.hxx
@@ -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: */
diff --git a/registry/inc/regapi.hxx b/registry/inc/regapi.hxx
index ae5b7e119e48..6d1ed00f532a 100644
--- a/registry/inc/regapi.hxx
+++ b/registry/inc/regapi.hxx
@@ -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: */