sw/source/core/text/atrhndl.hxx | 7 ++----- sw/source/core/text/guess.hxx | 7 +++---- 2 files changed, 5 insertions(+), 9 deletions(-)
New commits: commit 1b6dead4dc7d11fd3d2e1b88da941857cb1be046 Author: Nikhil <nikhil.varghes...@gmail.com> AuthorDate: Sun Oct 4 14:43:23 2020 +0530 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Sun Oct 4 17:51:45 2020 +0200 tdf#124176 Use #pragma once in text Change-Id: I4fd4fb8d232a2b250f1da3b9414d80a284367ec8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103919 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/sw/source/core/text/atrhndl.hxx b/sw/source/core/text/atrhndl.hxx index e391b0825886..1033242492c3 100644 --- a/sw/source/core/text/atrhndl.hxx +++ b/sw/source/core/text/atrhndl.hxx @@ -17,9 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SW_SOURCE_CORE_TEXT_ATRHNDL_HXX -#define INCLUDED_SW_SOURCE_CORE_TEXT_ATRHNDL_HXX - +#pragma once #define NUM_ATTRIBUTE_STACKS 44 #include <memory> @@ -116,6 +114,5 @@ inline const SwFont* SwAttrHandler::GetFont() const return m_pFnt.get(); }; -#endif -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file diff --git a/sw/source/core/text/guess.hxx b/sw/source/core/text/guess.hxx index 5ff7e7474e78..0d9fbb8d2d1c 100644 --- a/sw/source/core/text/guess.hxx +++ b/sw/source/core/text/guess.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_GUESS_HXX -#define INCLUDED_SW_SOURCE_CORE_TEXT_GUESS_HXX + +#pragma once #include <memory> #include "porrst.hxx" @@ -59,6 +59,5 @@ public: { return xHyphWord; } }; -#endif -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits