[Libreoffice-commits] core.git: sw/source

Suhaas Joshi (via logerrit) logerrit at kemper.freedesktop.org
Fri Feb 26 06:59:26 UTC 2021


 sw/source/core/text/itrform2.hxx |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

New commits:
commit 36554a53bd5064cf7cc93fcbbcc7a668f58d4d1d
Author:     Suhaas Joshi <joshiesuhaas at gmail.com>
AuthorDate: Wed Jan 6 10:21:23 2021 +0530
Commit:     Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Fri Feb 26 07:58:41 2021 +0100

    tdf#124176 Use pragma once in sw/source/core/text
    
    Change-Id: I6fa5895ae050e9f8cbb4cfd13572ddad0e2cb1f7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108832
    Tested-by: Jenkins
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>

diff --git a/sw/source/core/text/itrform2.hxx b/sw/source/core/text/itrform2.hxx
index 2e6e88587bdc..bd986e4be324 100644
--- a/sw/source/core/text/itrform2.hxx
+++ b/sw/source/core/text/itrform2.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_ITRFORM2_HXX
-#define INCLUDED_SW_SOURCE_CORE_TEXT_ITRFORM2_HXX
+#pragma once
+
 #include "itrpaint.hxx"
 
 class SwFlyCntPortion;
@@ -240,6 +240,4 @@ public:
     void MergeCharacterBorder( SwLinePortion& rPortion, SwLinePortion const *pPrev, SwTextFormatInfo& rInf );
 };
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list