From 80e8375828ac09fdb5a127b7690848075e37aa9c Mon Sep 17 00:00:00 2001 From: Oromidayo Owolabi Date: Sat, 19 Oct 2024 11:12:33 +0100 Subject: tdf#143148 Use #pragma once instead of include guards Replace include guards to pragma once in some header files in sw/inc/ Change-Id: I8e790a89ab2326748590d7a1ff2d1daee0ae0f4b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175191 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas --- sw/inc/SwRewriter.hxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sw/inc/SwRewriter.hxx') diff --git a/sw/inc/SwRewriter.hxx b/sw/inc/SwRewriter.hxx index a0ab5e371342..e41a076568ba 100644 --- a/sw/inc/SwRewriter.hxx +++ b/sw/inc/SwRewriter.hxx @@ -16,9 +16,7 @@ * 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_INC_SWREWRITER_HXX -#define INCLUDED_SW_INC_SWREWRITER_HXX +#pragma once #include #include @@ -47,6 +45,4 @@ public: static OUString GetPlaceHolder(SwUndoArg eId); }; -#endif // INCLUDED_SW_INC_SWREWRITER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit