include/tools/gen.hxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 2732115080036e4333fd025ca00396b3ff48c624
Author:     Chris Sherlock <chris.sherloc...@gmail.com>
AuthorDate: Sun Jul 24 18:56:34 2022 +1000
Commit:     Tomaž Vajngerl <qui...@gmail.com>
CommitDate: Thu Jul 28 16:24:28 2022 +0200

    tdf#143148 tools: Use pragma once instead of include guards
    
    Change-Id: Ie34bc66eb1dc475566b315db698976913c8aa37b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137390
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>

diff --git a/include/tools/gen.hxx b/include/tools/gen.hxx
index 5ed473c62857..35a510124749 100644
--- a/include/tools/gen.hxx
+++ b/include/tools/gen.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_TOOLS_GEN_HXX
-#define INCLUDED_TOOLS_GEN_HXX
+
+#pragma once
 
 #include <tools/toolsdllapi.h>
 
@@ -823,6 +823,4 @@ inline std::basic_ostream<charT, traits> & operator <<(
 }
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to