[Libreoffice-commits] core.git: idlc/inc
homeboy445 (via logerrit)
logerrit at kemper.freedesktop.org
Sun Dec 13 14:26:16 UTC 2020
idlc/inc/idlc.hxx | 5 +----
idlc/inc/idlctypes.hxx | 5 +----
2 files changed, 2 insertions(+), 8 deletions(-)
New commits:
commit c17ff0b5dc20d637392562eb59bd5bfdb2694389
Author: homeboy445 <akshitsan13 at gmail.com>
AuthorDate: Wed Dec 9 21:19:59 2020 +0530
Commit: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Sun Dec 13 15:25:39 2020 +0100
tdf#124176 Use #pragma once in idlc
Change-Id: Ica679168b782ca24b1e819cdc2ce04affdefb9d9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107528
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
diff --git a/idlc/inc/idlc.hxx b/idlc/inc/idlc.hxx
index 454e70511612..8995ead72de4 100644
--- a/idlc/inc/idlc.hxx
+++ b/idlc/inc/idlc.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_IDLC_INC_IDLC_HXX
-#define INCLUDED_IDLC_INC_IDLC_HXX
+#pragma once
#include "idlctypes.hxx"
#include "aststack.hxx"
@@ -162,6 +161,4 @@ AstDeclaration const * deconstructAndResolveTypedefs(
AstInterface const * resolveInterfaceTypedefs(AstType const * type);
-#endif // INCLUDED_IDLC_INC_IDLC_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/idlc/inc/idlctypes.hxx b/idlc/inc/idlctypes.hxx
index c7247be6c86d..a2dadfee178a 100644
--- a/idlc/inc/idlctypes.hxx
+++ b/idlc/inc/idlctypes.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_IDLC_INC_IDLCTYPES_HXX
-#define INCLUDED_IDLC_INC_IDLCTYPES_HXX
+#pragma once
#include <stdio.h>
@@ -187,6 +186,4 @@ enum ParseState
PS_DeclsDeclSeen // Seen complete decl in decls list
};
-#endif // INCLUDED_IDLC_INC_IDLCTYPES_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list