sw/source/uibase/inc/selglos.hxx | 6 ++---- sw/source/uibase/inc/splittbl.hxx | 6 ++---- sw/source/uibase/inc/wview.hxx | 6 ++---- sw/source/uibase/table/tablepg.hxx | 3 --- 4 files changed, 6 insertions(+), 15 deletions(-)
New commits: commit 3aaff1083a60010ad31342e029ce6e9b8ec62f9c Author: zeynepsninkaya <zeyns...@gmail.com> AuthorDate: Sat Nov 28 09:42:13 2020 +0000 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Tue Dec 1 20:58:51 2020 +0100 tdf#124176: Use pragma once instead of include guards Change-Id: I0531950697f96c208eadc64732a200e27fd94741 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106801 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Jenkins diff --git a/sw/source/uibase/inc/selglos.hxx b/sw/source/uibase/inc/selglos.hxx index b31f61a54ef6..0109051a5f68 100644 --- a/sw/source/uibase/inc/selglos.hxx +++ b/sw/source/uibase/inc/selglos.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_SELGLOS_HXX -#define INCLUDED_SW_SOURCE_UIBASE_INC_SELGLOS_HXX + +#pragma once #include <vcl/weld.hxx> @@ -46,6 +46,4 @@ public: } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/uibase/inc/splittbl.hxx b/sw/source/uibase/inc/splittbl.hxx index 4fc49e572e87..523632ef8045 100644 --- a/sw/source/uibase/inc/splittbl.hxx +++ b/sw/source/uibase/inc/splittbl.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_SPLITTBL_HXX -#define INCLUDED_SW_SOURCE_UIBASE_INC_SPLITTBL_HXX + +#pragma once #include <vcl/weld.hxx> #include <tblenum.hxx> @@ -52,6 +52,4 @@ public: SplitTable_HeadlineOption GetSplitMode() const { return m_nSplit; } }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/uibase/inc/wview.hxx b/sw/source/uibase/inc/wview.hxx index 9ac5f79499c7..94c41551b600 100644 --- a/sw/source/uibase/inc/wview.hxx +++ b/sw/source/uibase/inc/wview.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_WVIEW_HXX -#define INCLUDED_SW_SOURCE_UIBASE_INC_WVIEW_HXX + +#pragma once #include <swdllapi.h> #include <view.hxx> @@ -40,6 +40,4 @@ public: virtual ~SwWebView() override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/uibase/table/tablepg.hxx b/sw/source/uibase/table/tablepg.hxx index f038c8402541..4c1171dd72eb 100644 --- a/sw/source/uibase/table/tablepg.hxx +++ b/sw/source/uibase/table/tablepg.hxx @@ -16,7 +16,6 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #pragma once #include <sfx2/tabdlg.hxx> @@ -183,6 +182,4 @@ public: void DisablePageBreak(); }; - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits