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

New commits:
commit 287339e08d01a11e2d70e12f728ee2bf3e89eee3
Author:     Federico Gallo Herosa <federico.gallo.her...@gmail.com>
AuthorDate: Fri Oct 13 00:39:36 2023 -0300
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Fri Oct 13 10:59:38 2023 +0200

    tdf#143148: Use pragma once instead of include guards
    
    Replace include guards in favor of #pragma once. First task for beginners
    
    Change-Id: I0ead6e955c953ec0e9113174797ffb8b9938999f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157901
    Tested-by: Jenkins
    Tested-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/sw/inc/legacyitem.hxx b/sw/inc/legacyitem.hxx
index 9ce879d0118a..5d284c8afecf 100644
--- a/sw/inc/legacyitem.hxx
+++ b/sw/inc/legacyitem.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_SW_LEGACYITEM_HXX
-#define INCLUDED_SW_LEGACYITEM_HXX
+
+#pragma once
 
 #include <sal/types.h>
 
@@ -39,6 +39,4 @@ namespace legacy
     }
 }
 
-#endif // INCLUDED_SW_LEGACYITEM_HXX
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Reply via email to