summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source')
-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: */