summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/uibase/inc/optcomp.hxx6
-rw-r--r--sw/source/uibase/inc/optload.hxx6
-rw-r--r--sw/source/uibase/inc/optpage.hxx6
-rw-r--r--sw/source/uibase/inc/outline.hxx6
-rw-r--r--sw/source/uibase/inc/unomod.hxx6
5 files changed, 11 insertions, 19 deletions
diff --git a/sw/source/uibase/inc/optcomp.hxx b/sw/source/uibase/inc/optcomp.hxx
index 8af469e6a679..c6d907656e67 100644
--- a/sw/source/uibase/inc/optcomp.hxx
+++ b/sw/source/uibase/inc/optcomp.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_UIBASE_INC_OPTCOMP_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_OPTCOMP_HXX
+
+#pragma once
#include <memory>
#include <sfx2/tabdlg.hxx>
@@ -71,6 +71,4 @@ public:
virtual void Reset( const SfxItemSet* rSet ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/inc/optload.hxx b/sw/source/uibase/inc/optload.hxx
index e1b0abe2f4ff..0bb020800765 100644
--- a/sw/source/uibase/inc/optload.hxx
+++ b/sw/source/uibase/inc/optload.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_UIBASE_INC_OPTLOAD_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_OPTLOAD_HXX
+
+#pragma once
#include <tools/globname.hxx>
#include <sfx2/tabdlg.hxx>
@@ -190,6 +190,4 @@ public:
virtual void Reset( const SfxItemSet* rSet ) override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/inc/optpage.hxx b/sw/source/uibase/inc/optpage.hxx
index 4ea45d347687..2889f5ea6ebf 100644
--- a/sw/source/uibase/inc/optpage.hxx
+++ b/sw/source/uibase/inc/optpage.hxx
@@ -16,8 +16,9 @@
* 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_UIBASE_INC_OPTPAGE_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_OPTPAGE_HXX
+
+#pragma once
+
#include <sfx2/tabdlg.hxx>
#include <vcl/weld.hxx>
@@ -382,5 +383,4 @@ public:
virtual void Reset( const SfxItemSet* rSet ) override;
};
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/inc/outline.hxx b/sw/source/uibase/inc/outline.hxx
index f7702359c3ee..d1e1b2915b7d 100644
--- a/sw/source/uibase/inc/outline.hxx
+++ b/sw/source/uibase/inc/outline.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_UIBASE_INC_OUTLINE_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_OUTLINE_HXX
+
+#pragma once
#include <memory>
#include <sfx2/tabdlg.hxx>
@@ -118,6 +118,4 @@ public:
}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/inc/unomod.hxx b/sw/source/uibase/inc/unomod.hxx
index 1bd195689f48..857155df65a7 100644
--- a/sw/source/uibase/inc/unomod.hxx
+++ b/sw/source/uibase/inc/unomod.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_UIBASE_INC_UNOMOD_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_UNOMOD_HXX
+
+#pragma once
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/view/XPrintSettingsSupplier.hpp>
@@ -133,6 +133,4 @@ public:
void Invalidate() {bObjectValid = false;}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */