sw/source/core/text/itrpaint.hxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
New commits: commit cfdba2b94fd7c0a2ec0250ddc9212d367db50c8c Author: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> AuthorDate: Fri Mar 8 08:22:12 2019 +0100 Commit: Thorsten Behrens <thorsten.behr...@cib.de> CommitDate: Fri Mar 8 15:25:00 2019 +0100 Use pragma once instead of header guard This is a test on a random file to see if all compilers accept this. Change-Id: I412aef57730d07c8e6e2710fee71d5eded326d48 Reviewed-on: https://gerrit.libreoffice.org/68896 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de> diff --git a/sw/source/core/text/itrpaint.hxx b/sw/source/core/text/itrpaint.hxx index aa8807af1b0c..2256c392896a 100644 --- a/sw/source/core/text/itrpaint.hxx +++ b/sw/source/core/text/itrpaint.hxx @@ -16,8 +16,9 @@ * 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_ITRPAINT_HXX -#define INCLUDED_SW_SOURCE_CORE_TEXT_ITRPAINT_HXX + +#pragma once + #include "itrtxt.hxx" class SwSaveClip; // SwTextPainter @@ -61,6 +62,4 @@ public: bool IsUnderlineBreak( const SwLinePortion& rPor, const SwFont& rFnt ); -#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