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@libreoffice.org>
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
diff --git a/idlc/inc/idlc.hxx b/idlc/inc/idlc.hxx
index 454e705..8995ead 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 c7247be..a2dadfe 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: */