summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorFederico Gallo Herosa <federico.gallo.herosa@gmail.com>2023-10-13 00:39:36 -0300
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2023-10-13 10:59:38 +0200
commit287339e08d01a11e2d70e12f728ee2bf3e89eee3 (patch)
tree36f33f0cd19d1c0f603d77e0cff6305ae158e41c /sw
parent7d7ca347fafa7a06094b00e8fb0d0452c4c81366 (diff)
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.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/legacyitem.hxx6
1 files changed, 2 insertions, 4 deletions
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: */