summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2019-03-08 08:22:12 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2019-03-08 15:25:00 +0100
commitcfdba2b94fd7c0a2ec0250ddc9212d367db50c8c (patch)
treeb53fb33cddcc76ab57666e91ece17bc0fa0a72d9
parent9da838d481a41a2dc69dcf2eecefd637e7228389 (diff)
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.Behrens@CIB.de>
-rw-r--r--sw/source/core/text/itrpaint.hxx7
1 files 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: */