summaryrefslogtreecommitdiff
path: root/include/registry
diff options
context:
space:
mode:
authoriakarsu <iakarsu99@gmail.com>2020-01-25 16:21:43 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-01-26 20:27:42 +0100
commit9accb3c4b5e1861d9a03c655242da5b629f5a6d6 (patch)
treeb590e561442a9f775938a3665eaf88270c777894 /include/registry
parent34330368088109fd140cad345f3de1077d195ddd (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: I6a7f7711fa931657dd97c9c0bc1bdce671b69b7d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87405 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'include/registry')
-rw-r--r--include/registry/registry.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/registry/registry.hxx b/include/registry/registry.hxx
index 9e264f4a30bd..c71e7dc804c4 100644
--- a/include/registry/registry.hxx
+++ b/include/registry/registry.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_REGISTRY_REGISTRY_HXX
-#define INCLUDED_REGISTRY_REGISTRY_HXX
+#pragma once
#include <registry/regdllapi.h>
#include <registry/regtype.h>
@@ -1055,7 +1054,4 @@ inline RegError Registry::mergeKey(RegistryKey& rKey,
bool bReport)
{ return m_pApi->mergeKey(m_hImpl, rKey.m_hImpl, keyName.pData, regFileName.pData, false/*bWarnings*/, bReport); }
-
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */