summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc
diff options
context:
space:
mode:
authorVishwas <19ucc001@lnmiit.ac.in>2020-12-31 18:32:23 +0530
committerJulien Nabet <serval2412@yahoo.fr>2021-01-02 10:02:49 +0100
commite245217bf4abd70b7395061190557c2b7e6ec952 (patch)
tree34b9bdd09d916144fd43807c19c5d8dd6410d5b4 /sw/source/uibase/inc
parent159d9c30c474c6525643d832a38e640cd442ac7c (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: I346da72b15d21f09440f65f2c4f832115267c5e5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108552 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw/source/uibase/inc')
-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: */