sw/source/core/text/itratr.hxx | 6 ++---- sw/source/core/text/porlay.hxx | 5 +---- 2 files changed, 3 insertions(+), 8 deletions(-)
New commits: commit c20ac51dfb4a74a8951b4207fbf9b2ed9c6ef5dc Author: Suhaas Joshi <joshiesuh...@gmail.com> AuthorDate: Tue Jan 5 16:10:54 2021 +0530 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Fri Feb 26 07:56:12 2021 +0100 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.lauhakan...@libreoffice.org> 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: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits