summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuhaas Joshi <joshiesuhaas@gmail.com>2021-01-04 22:23:50 +0530
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2021-02-24 18:32:39 +0100
commitcbb131a617ecf466cc9133dd2a2cffcdb381acaf (patch)
tree9d224ed4a027c34a94b971af367740258fd8d7b1
parent61b509ae4b9b370b5c8e6f3bbca3540e13542d14 (diff)
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@libreoffice.org>
-rw-r--r--sw/source/core/text/porref.hxx5
-rw-r--r--sw/source/core/text/widorp.hxx6
2 files changed, 3 insertions, 8 deletions
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: */