summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGokce Kuler <gokcekuler@gmail.com>2020-10-21 00:32:04 +0300
committerGülşah Köse <gulsah.kose@collabora.com>2020-10-21 23:58:31 +0200
commit113c6c9d91c8f8bb90cc29f4dbe73fcafdb995de (patch)
tree9a1a92f502fd681c50c906ef1acdec0b156b8fb0
parent0b35ef17fedc96b31dd1dff67648a61fe884c857 (diff)
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@collabora.com>
-rw-r--r--sw/source/core/text/inftxt.hxx6
1 files changed, 2 insertions, 4 deletions
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: */