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 #include @@ -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: */