[Libreoffice-commits] core.git: sw/source
Umut Emre Bayramoglu (via logerrit)
logerrit at kemper.freedesktop.org
Sun Nov 22 08:02:18 UTC 2020
sw/source/uibase/inc/wformsh.hxx | 6 ++----
sw/source/uibase/inc/wrtsh.hxx | 6 ++----
sw/source/uibase/inc/wtabsh.hxx | 6 ++----
sw/source/uibase/inc/zoomctrl.hxx | 6 ++----
4 files changed, 8 insertions(+), 16 deletions(-)
New commits:
commit f06083d5714fda562375d12902f704514ec30491
Author: Umut Emre Bayramoglu <umut265 at gmail.com>
AuthorDate: Sat Nov 21 16:30:50 2020 +0000
Commit: Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Sun Nov 22 09:01:42 2020 +0100
tdf#124176: Use pragma once instead of include guards
Change-Id: If631710897394a1ed585bd1dba90c4e4c1c24db9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106322
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
diff --git a/sw/source/uibase/inc/wformsh.hxx b/sw/source/uibase/inc/wformsh.hxx
index 2d73b1232e55..0181c2cd4810 100644
--- a/sw/source/uibase/inc/wformsh.hxx
+++ b/sw/source/uibase/inc/wformsh.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_WFORMSH_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_WFORMSH_HXX
+
+#pragma once
#include "drformsh.hxx"
@@ -36,6 +36,4 @@ private:
public:
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/inc/wrtsh.hxx b/sw/source/uibase/inc/wrtsh.hxx
index e2e1f28e2e7c..a8cc9a49d6cb 100644
--- a/sw/source/uibase/inc/wrtsh.hxx
+++ b/sw/source/uibase/inc/wrtsh.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_WRTSH_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_WRTSH_HXX
+
+#pragma once
#include <swdllapi.h>
#include <fesh.hxx>
@@ -651,6 +651,4 @@ inline bool SwWrtShell::Is_FnDragEQBeginDrag() const
#endif
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/inc/wtabsh.hxx b/sw/source/uibase/inc/wtabsh.hxx
index 1ded54d1d552..1ca796e4e2ab 100644
--- a/sw/source/uibase/inc/wtabsh.hxx
+++ b/sw/source/uibase/inc/wtabsh.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_WTABSH_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_WTABSH_HXX
+
+#pragma once
#include "tabsh.hxx"
@@ -35,6 +35,4 @@ public:
virtual ~SwWebTableShell() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/inc/zoomctrl.hxx b/sw/source/uibase/inc/zoomctrl.hxx
index e05ad40e76a9..02d89b0dc5bb 100644
--- a/sw/source/uibase/inc/zoomctrl.hxx
+++ b/sw/source/uibase/inc/zoomctrl.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_ZOOMCTRL_HXX
-#define INCLUDED_SW_SOURCE_UIBASE_INC_ZOOMCTRL_HXX
+
+#pragma once
#include <svx/zoomctrl.hxx>
@@ -38,6 +38,4 @@ public:
virtual ~SwZoomControl() override;
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list