[Libreoffice-commits] core.git: sw/source
Suhaas Joshi (via logerrit)
logerrit at kemper.freedesktop.org
Wed Feb 24 17:33:20 UTC 2021
sw/source/core/text/porref.hxx | 5 +----
sw/source/core/text/widorp.hxx | 6 ++----
2 files changed, 3 insertions(+), 8 deletions(-)
New commits:
commit cbb131a617ecf466cc9133dd2a2cffcdb381acaf
Author: Suhaas Joshi <joshiesuhaas at gmail.com>
AuthorDate: Mon Jan 4 22:23:50 2021 +0530
Commit: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
CommitDate: Wed Feb 24 18:32:39 2021 +0100
tdf#124176 Use pragma once in sw/source/core/text
Change-Id: I9eb44c16fef1da8a1931e60857912887282bff59
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108735
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
diff --git a/sw/source/core/text/porref.hxx b/sw/source/core/text/porref.hxx
index b0fff5e34b2a..4b55f9dbc889 100644
--- a/sw/source/core/text/porref.hxx
+++ b/sw/source/core/text/porref.hxx
@@ -16,8 +16,7 @@
* 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_PORREF_HXX
-#define INCLUDED_SW_SOURCE_CORE_TEXT_PORREF_HXX
+#pragma once
#include "portxt.hxx"
@@ -43,6 +42,4 @@ public:
virtual void HandlePortion(SwPortionHandler& rPH) const override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/text/widorp.hxx b/sw/source/core/text/widorp.hxx
index dd55dba216bb..c24bd5273f52 100644
--- a/sw/source/core/text/widorp.hxx
+++ b/sw/source/core/text/widorp.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_WIDORP_HXX
-#define INCLUDED_SW_SOURCE_CORE_TEXT_WIDORP_HXX
+#pragma once
+
class SwTextFrame;
#include <swtypes.hxx>
@@ -79,6 +79,4 @@ public:
}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list