From cfdba2b94fd7c0a2ec0250ddc9212d367db50c8c Mon Sep 17 00:00:00 2001 From: Samuel Mehrbrodt Date: Fri, 8 Mar 2019 08:22:12 +0100 Subject: [PATCH] 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 --- sw/source/core/text/itrpaint.hxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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: */