diff options
author | Suhaas Joshi <joshiesuhaas@gmail.com> | 2021-01-05 16:10:54 +0530 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-02-26 07:56:12 +0100 |
commit | c20ac51dfb4a74a8951b4207fbf9b2ed9c6ef5dc (patch) | |
tree | 86c2cd421a40ee5e4e9c65654877c9d12e183c10 | |
parent | 881174442b942d79fe1da52ff209f8b9eae2c99a (diff) |
tdf#124176 Use pragma once in sw/source/core/text
Change-Id: I2104cad267e6f704f9389b03ff3f116fca875517
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108796
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
-rw-r--r-- | sw/source/core/text/itratr.hxx | 6 | ||||
-rw-r--r-- | sw/source/core/text/porlay.hxx | 5 |
2 files changed, 3 insertions, 8 deletions
diff --git a/sw/source/core/text/itratr.hxx b/sw/source/core/text/itratr.hxx index 78130e5de72c..e4dedc22cda1 100644 --- a/sw/source/core/text/itratr.hxx +++ b/sw/source/core/text/itratr.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_SOURCE_CORE_TEXT_ITRATR_HXX -#define INCLUDED_SW_SOURCE_CORE_TEXT_ITRATR_HXX +#pragma once + #include <o3tl/deleter.hxx> #include "atrhndl.hxx" #include <swfont.hxx> @@ -109,6 +109,4 @@ public: SwAttrHandler& GetAttrHandler() { return m_aAttrHandler; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/core/text/porlay.hxx b/sw/source/core/text/porlay.hxx index 0c91b53f1465..249ed81f088f 100644 --- a/sw/source/core/text/porlay.hxx +++ b/sw/source/core/text/porlay.hxx @@ -16,8 +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_SOURCE_CORE_TEXT_PORLAY_HXX -#define INCLUDED_SW_SOURCE_CORE_TEXT_PORLAY_HXX +#pragma once #include <scriptinfo.hxx> @@ -341,6 +340,4 @@ inline void SwParaPortion::FormatReset() m_bFollowField = m_bFixLineHeight = m_bMargin = false; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |