summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/uibase/inc/bookmark.hxx5
-rw-r--r--sw/source/uibase/inc/pgfnote.hxx5
-rw-r--r--sw/source/uibase/inc/scroll.hxx6
-rw-r--r--sw/source/uibase/inc/swmodalredlineacceptdlg.hxx5
-rw-r--r--sw/source/uibase/inc/swrenamexnameddlg.hxx5
-rw-r--r--sw/source/uibase/inc/wtextsh.hxx6
6 files changed, 7 insertions, 25 deletions
diff --git a/sw/source/uibase/inc/bookmark.hxx b/sw/source/uibase/inc/bookmark.hxx
index b6107e2914af..85f67e9c2981 100644
--- a/sw/source/uibase/inc/bookmark.hxx
+++ b/sw/source/uibase/inc/bookmark.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_UIBASE_INC_BOOKMARK_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_BOOKMARK_HXX
+#pragma once
#include <sfx2/basedlgs.hxx>
#include <vcl/weld.hxx>
@@ -105,6 +104,4 @@ public:
virtual ~SwInsertBookmarkDlg() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/inc/pgfnote.hxx b/sw/source/uibase/inc/pgfnote.hxx
index 36f2bdfb4ea0..c67c2f6a5b62 100644
--- a/sw/source/uibase/inc/pgfnote.hxx
+++ b/sw/source/uibase/inc/pgfnote.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_UIBASE_INC_PGFNOTE_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_PGFNOTE_HXX
+#pragma once
#include <sfx2/tabdlg.hxx>
@@ -64,6 +63,4 @@ private:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/inc/scroll.hxx b/sw/source/uibase/inc/scroll.hxx
index fff22eb0dbd0..883b896a2c63 100644
--- a/sw/source/uibase/inc/scroll.hxx
+++ b/sw/source/uibase/inc/scroll.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_SCROLL_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_SCROLL_HXX
+#pragma once
+
#include <vcl/scrbar.hxx>
class SwScrollbar: public ScrollBar
@@ -52,6 +52,4 @@ public:
virtual ~SwScrollbar() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/inc/swmodalredlineacceptdlg.hxx b/sw/source/uibase/inc/swmodalredlineacceptdlg.hxx
index 5c5450d5304f..450380b33c2c 100644
--- a/sw/source/uibase/inc/swmodalredlineacceptdlg.hxx
+++ b/sw/source/uibase/inc/swmodalredlineacceptdlg.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_UIBASE_INC_SWMODALREDLINEACCEPTDLG_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_SWMODALREDLINEACCEPTDLG_HXX
+#pragma once
#include <sfx2/basedlgs.hxx>
@@ -36,6 +35,4 @@ public:
virtual void Activate() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/inc/swrenamexnameddlg.hxx b/sw/source/uibase/inc/swrenamexnameddlg.hxx
index b4540857e563..c8ed7dc52536 100644
--- a/sw/source/uibase/inc/swrenamexnameddlg.hxx
+++ b/sw/source/uibase/inc/swrenamexnameddlg.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_UIBASE_INC_SWRENAMEXNAMEDDLG_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_SWRENAMEXNAMEDDLG_HXX
+#pragma once
#include <vcl/textfilter.hxx>
#include <vcl/weld.hxx>
@@ -59,6 +58,4 @@ public:
}
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/inc/wtextsh.hxx b/sw/source/uibase/inc/wtextsh.hxx
index 264500046677..c8cd3c756638 100644
--- a/sw/source/uibase/inc/wtextsh.hxx
+++ b/sw/source/uibase/inc/wtextsh.hxx
@@ -16,9 +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_UIBASE_INC_WTEXTSH_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_WTEXTSH_HXX
+#pragma once
#include "textsh.hxx"
@@ -36,6 +34,4 @@ public:
virtual ~SwWebTextShell() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */