sw/source/ui/inc/mmresultdialogs.hxx | 5 ++--- sw/source/ui/inc/swuiexp.hxx | 6 ++---- 2 files changed, 4 insertions(+), 7 deletions(-)
New commits: commit 123edad21081ab45c8d83be4788f3c47c3b9a2dc Author: Henrik Palomäki <henrik.palom...@yandex.com> AuthorDate: Mon Oct 18 14:17:36 2021 +0300 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Mon Oct 18 17:08:38 2021 +0200 tdf#143148 - Use pragma once instead of include guards This patch replaces include guards with the "pragma once" directive. Change-Id: I1325488a22cca27d1f33e0191a0674a662630f66 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123743 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> diff --git a/sw/source/ui/inc/mmresultdialogs.hxx b/sw/source/ui/inc/mmresultdialogs.hxx index 445fb1ee546b..11744fd5fb07 100644 --- a/sw/source/ui/inc/mmresultdialogs.hxx +++ b/sw/source/ui/inc/mmresultdialogs.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_UI_DBUI_MMOUTPUTPAGE_HXX -#define INCLUDED_SW_SOURCE_UI_DBUI_MMOUTPUTPAGE_HXX + +#pragma once #include <vcl/weld.hxx> #include <vcl/print.hxx> @@ -187,6 +187,5 @@ public: void AllMailsSent(); }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/ui/inc/swuiexp.hxx b/sw/source/ui/inc/swuiexp.hxx index 3ea2f5f30464..a5fa95e7a094 100644 --- a/sw/source/ui/inc/swuiexp.hxx +++ b/sw/source/ui/inc/swuiexp.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_UI_INC_SWUIEXP_HXX -#define INCLUDED_SW_SOURCE_UI_INC_SWUIEXP_HXX + +#pragma once #include <swabstdlg.hxx> @@ -26,6 +26,4 @@ namespace swui SwAbstractDialogFactory& GetFactory(); } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */