summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorCumali Toprak <cumalitoprakk@gmail.com>2020-01-27 14:36:27 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-01-27 21:28:46 +0100
commit4b5ad13fb07f61ff627a0981985ce15f8812a1b9 (patch)
tree1d4a89f8e921d1ff1f76eb07dc7cc7fd7bdb3f91 /idlc
parentad09ecafa7e8469e1005546122666ddba882dca2 (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: I422ff363d3abf6b722d584ded3a1d8466cec35a7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87511 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/aststack.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/idlc/inc/aststack.hxx b/idlc/inc/aststack.hxx
index b3f4cda695fd..bf3575676aa3 100644
--- a/idlc/inc/aststack.hxx
+++ b/idlc/inc/aststack.hxx
@@ -16,8 +16,8 @@
* 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_ASTSTACK_HXX
-#define INCLUDED_IDLC_INC_ASTSTACK_HXX
+
+#pragma once
#include <sal/types.h>
#include <vector>
@@ -43,6 +43,4 @@ private:
std::vector<AstScope*> m_stack;
};
-#endif // INCLUDED_IDLC_INC_ASTSTACK_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */