[Libreoffice-commits] core.git: idlc/inc

Cumali Toprak (via logerrit) logerrit at kemper.freedesktop.org
Mon Jan 27 20:29:19 UTC 2020


 idlc/inc/aststack.hxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 4b5ad13fb07f61ff627a0981985ce15f8812a1b9
Author:     Cumali Toprak <cumalitoprakk at gmail.com>
AuthorDate: Mon Jan 27 14:36:27 2020 +0300
Commit:     Muhammet Kara <muhammet.kara at collabora.com>
CommitDate: Mon Jan 27 21:28:46 2020 +0100

    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 at collabora.com>

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: */


More information about the Libreoffice-commits mailing list