summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/ui/envelp/envfmt.hxx5
-rw-r--r--sw/source/ui/envelp/envprt.hxx5
-rw-r--r--sw/source/ui/envelp/labfmt.hxx4
-rw-r--r--sw/source/ui/envelp/labprt.hxx5
-rw-r--r--sw/source/ui/envelp/swuilabimp.hxx5
5 files changed, 5 insertions, 19 deletions
diff --git a/sw/source/ui/envelp/envfmt.hxx b/sw/source/ui/envelp/envfmt.hxx
index fb089f8a3743..bdc42de6b55f 100644
--- a/sw/source/ui/envelp/envfmt.hxx
+++ b/sw/source/ui/envelp/envfmt.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_UI_ENVELP_ENVFMT_HXX
-#define INCLUDED_SW_SOURCE_UI_ENVELP_ENVFMT_HXX
+#pragma once
#include <sal/config.h>
@@ -74,6 +73,4 @@ public:
virtual void Reset(const SfxItemSet* rSet) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/ui/envelp/envprt.hxx b/sw/source/ui/envelp/envprt.hxx
index 078efa0995c4..4cc3bf4f784b 100644
--- a/sw/source/ui/envelp/envprt.hxx
+++ b/sw/source/ui/envelp/envprt.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SW_SOURCE_UI_ENVELP_ENVPRT_HXX
-#define INCLUDED_SW_SOURCE_UI_ENVELP_ENVPRT_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
#include <vcl/print.hxx>
@@ -69,6 +68,4 @@ public:
void SetPrt(Printer* pPrinter) { m_xPrt = pPrinter; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/ui/envelp/labfmt.hxx b/sw/source/ui/envelp/labfmt.hxx
index b6a7f491505a..bfb1ef309738 100644
--- a/sw/source/ui/envelp/labfmt.hxx
+++ b/sw/source/ui/envelp/labfmt.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_UI_ENVELP_LABFMT_HXX
-#define INCLUDED_SW_SOURCE_UI_ENVELP_LABFMT_HXX
+#pragma once
#include <labimg.hxx>
#include <label.hxx>
@@ -137,6 +136,5 @@ public:
}
bool GetLabel(SwLabItem& rItem);
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/ui/envelp/labprt.hxx b/sw/source/ui/envelp/labprt.hxx
index 6df616aa68bf..66a4c1365725 100644
--- a/sw/source/ui/envelp/labprt.hxx
+++ b/sw/source/ui/envelp/labprt.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_UI_ENVELP_LABPRT_HXX
-#define INCLUDED_SW_SOURCE_UI_ENVELP_LABPRT_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -61,6 +60,4 @@ public:
Printer* GetPrt() { return m_pPrinter; }
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/ui/envelp/swuilabimp.hxx b/sw/source/ui/envelp/swuilabimp.hxx
index 10ab6fe71579..222c9fd911cc 100644
--- a/sw/source/ui/envelp/swuilabimp.hxx
+++ b/sw/source/ui/envelp/swuilabimp.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_UI_ENVELP_SWUILABIMP_HXX
-#define INCLUDED_SW_SOURCE_UI_ENVELP_SWUILABIMP_HXX
+#pragma once
#include <label.hxx>
#include <labimg.hxx>
@@ -143,6 +142,4 @@ public:
virtual void Reset(const SfxItemSet* rSet) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */