summaryrefslogtreecommitdiff
path: root/sw/inc/SwRewriter.hxx
diff options
context:
space:
mode:
authorOromidayo Owolabi <owolabioromidayo16@gmail.com>2024-10-19 11:12:33 +0100
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2024-10-23 09:06:10 +0200
commit80e8375828ac09fdb5a127b7690848075e37aa9c (patch)
tree7ada98b377810eaa7c1b5d73394c6af35fa78590 /sw/inc/SwRewriter.hxx
parent250e00a51dcf60ac2e028983f5d29c0f68748b38 (diff)
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 <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'sw/inc/SwRewriter.hxx')
-rw-r--r--sw/inc/SwRewriter.hxx6
1 files changed, 1 insertions, 5 deletions
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 <vector>
#include <rtl/ustring.hxx>
@@ -47,6 +45,4 @@ public:
static OUString GetPlaceHolder(SwUndoArg eId);
};
-#endif // INCLUDED_SW_INC_SWREWRITER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */