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

Gokce Kuler (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 21 21:59:12 UTC 2020


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

New commits:
commit 113c6c9d91c8f8bb90cc29f4dbe73fcafdb995de
Author:     Gokce Kuler <gokcekuler at gmail.com>
AuthorDate: Wed Oct 21 00:32:04 2020 +0300
Commit:     Gülşah Köse <gulsah.kose at collabora.com>
CommitDate: Wed Oct 21 23:58:31 2020 +0200

    tdf#124176 Use pragma once instead of header guard
    
    Change-Id: Icff67425dd38f0c8a5589973e1907bed097cdf1c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104583
    Tested-by: Jenkins
    Reviewed-by: Gülşah Köse <gulsah.kose at collabora.com>

diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx
index 835600f22fdf..d3ce7116407b 100644
--- a/sw/source/core/text/inftxt.hxx
+++ b/sw/source/core/text/inftxt.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_INFTXT_HXX
-#define INCLUDED_SW_SOURCE_CORE_TEXT_INFTXT_HXX
+#pragma once
+
 #include <memory>
 #include <com/sun/star/beans/PropertyValues.hpp>
 
@@ -783,6 +783,4 @@ inline void SwTextFormatInfo::SetParaFootnote()
     GetTextFrame()->SetFootnote( true );
 }
 
-#endif
-
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list