summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2022-01-09 06:34:39 +1100
committerStephan Bergmann <sbergman@redhat.com>2022-07-04 10:07:17 +0200
commit6952be913510c63716940648a06163c19622187e (patch)
tree53ee72957f4898d647382a5b64daf721eb484404 /registry
parent591b9daf8cf89dc4e7a01cec9bf9623747094a3d (diff)
tdf#143148 registry: Use pragma once instead of include guards
Change-Id: I8598034598d6911b784a1550c78552f6ac87bc22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128172 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'registry')
-rw-r--r--registry/source/reflcnst.hxx6
-rw-r--r--registry/source/regimpl.hxx5
-rw-r--r--registry/source/regkey.hxx5
3 files changed, 3 insertions, 13 deletions
diff --git a/registry/source/reflcnst.hxx b/registry/source/reflcnst.hxx
index 529d02f9d68a..2c93a9cd22f2 100644
--- a/registry/source/reflcnst.hxx
+++ b/registry/source/reflcnst.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_REGISTRY_SOURCE_REFLCNST_HXX
-#define INCLUDED_REGISTRY_SOURCE_REFLCNST_HXX
+#pragma once
#include <registry/types.hxx>
@@ -186,7 +185,4 @@ sal_uInt32 readString(const sal_uInt8* buffer, sal_Unicode* v, sal_uInt32 maxSiz
sal_uInt32 UINT16StringLen(const sal_uInt8* wstring);
-#endif
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/registry/source/regimpl.hxx b/registry/source/regimpl.hxx
index ecc7d1a9551d..25f9d50e7695 100644
--- a/registry/source/regimpl.hxx
+++ b/registry/source/regimpl.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_REGISTRY_SOURCE_REGIMPL_HXX
-#define INCLUDED_REGISTRY_SOURCE_REGIMPL_HXX
+#pragma once
#include <sal/config.h>
@@ -121,6 +120,4 @@ private:
static constexpr OUStringLiteral ROOT { u"/" };
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/registry/source/regkey.hxx b/registry/source/regkey.hxx
index 76e8c2993c18..51114e5ccceb 100644
--- a/registry/source/regkey.hxx
+++ b/registry/source/regkey.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_REGISTRY_SOURCE_REGKEY_HXX
-#define INCLUDED_REGISTRY_SOURCE_REGKEY_HXX
+#pragma once
#include <sal/config.h>
#include <registry/regtype.h>
@@ -64,6 +63,4 @@ RegError REGISTRY_CALLTYPE freeKeyNames(rtl_uString**, sal_uInt32);
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */