From 0104c28ceac5f2802a34305e85edc2d9ffe252ba Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Sat, 28 Dec 2019 00:51:41 +0100 Subject: tdf#124176: Use "pragma once" on UnoControls/* It passed "make check" on Linux Change-Id: I4b0427e86063de0d4b1fd916ab4dfb1505db5a04 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85888 Reviewed-by: Julien Nabet Tested-by: Julien Nabet --- UnoControls/inc/basecontainercontrol.hxx | 4 +--- UnoControls/inc/basecontrol.hxx | 4 +--- UnoControls/inc/multiplexer.hxx | 4 +--- UnoControls/source/inc/OConnectionPointContainerHelper.hxx | 4 +--- UnoControls/source/inc/OConnectionPointHelper.hxx | 4 +--- UnoControls/source/inc/framecontrol.hxx | 4 +--- UnoControls/source/inc/progressbar.hxx | 4 +--- UnoControls/source/inc/progressmonitor.hxx | 4 +--- UnoControls/source/inc/statusindicator.hxx | 4 +--- 9 files changed, 9 insertions(+), 27 deletions(-) (limited to 'UnoControls') diff --git a/UnoControls/inc/basecontainercontrol.hxx b/UnoControls/inc/basecontainercontrol.hxx index 500313fc9096..56e2f9373af3 100644 --- a/UnoControls/inc/basecontainercontrol.hxx +++ b/UnoControls/inc/basecontainercontrol.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOCONTROLS_INC_BASECONTAINERCONTROL_HXX -#define INCLUDED_UNOCONTROLS_INC_BASECONTAINERCONTROL_HXX +#pragma once #include #include @@ -151,6 +150,5 @@ private: } -#endif // INCLUDED_UNOCONTROLS_INC_BASECONTAINERCONTROL_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/UnoControls/inc/basecontrol.hxx b/UnoControls/inc/basecontrol.hxx index c19e3d9cb04b..495664626b03 100644 --- a/UnoControls/inc/basecontrol.hxx +++ b/UnoControls/inc/basecontrol.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOCONTROLS_INC_BASECONTROL_HXX -#define INCLUDED_UNOCONTROLS_INC_BASECONTROL_HXX +#pragma once #include #include @@ -328,6 +327,5 @@ private: } -#endif // INCLUDED_UNOCONTROLS_INC_BASECONTROL_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/UnoControls/inc/multiplexer.hxx b/UnoControls/inc/multiplexer.hxx index 640435ad520e..1c5aa98caf41 100644 --- a/UnoControls/inc/multiplexer.hxx +++ b/UnoControls/inc/multiplexer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOCONTROLS_INC_MULTIPLEXER_HXX -#define INCLUDED_UNOCONTROLS_INC_MULTIPLEXER_HXX +#pragma once #include #include @@ -230,6 +229,5 @@ private: } -#endif // INCLUDED_UNOCONTROLS_INC_MULTIPLEXER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx index 728542188f92..45579f33f200 100644 --- a/UnoControls/source/inc/OConnectionPointContainerHelper.hxx +++ b/UnoControls/source/inc/OConnectionPointContainerHelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOCONTROLS_SOURCE_INC_OCONNECTIONPOINTCONTAINERHELPER_HXX -#define INCLUDED_UNOCONTROLS_SOURCE_INC_OCONNECTIONPOINTCONTAINERHELPER_HXX +#pragma once #include #include @@ -102,6 +101,5 @@ private: } -#endif // INCLUDED_UNOCONTROLS_SOURCE_INC_OCONNECTIONPOINTCONTAINERHELPER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/UnoControls/source/inc/OConnectionPointHelper.hxx b/UnoControls/source/inc/OConnectionPointHelper.hxx index 852c91664020..3de932caa765 100644 --- a/UnoControls/source/inc/OConnectionPointHelper.hxx +++ b/UnoControls/source/inc/OConnectionPointHelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOCONTROLS_SOURCE_INC_OCONNECTIONPOINTHELPER_HXX -#define INCLUDED_UNOCONTROLS_SOURCE_INC_OCONNECTIONPOINTHELPER_HXX +#pragma once #include #include @@ -105,6 +104,5 @@ private: } -#endif // INCLUDED_UNOCONTROLS_SOURCE_INC_OCONNECTIONPOINTHELPER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/UnoControls/source/inc/framecontrol.hxx b/UnoControls/source/inc/framecontrol.hxx index 2ed78f7bddfe..2261490421b8 100644 --- a/UnoControls/source/inc/framecontrol.hxx +++ b/UnoControls/source/inc/framecontrol.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOCONTROLS_SOURCE_INC_FRAMECONTROL_HXX -#define INCLUDED_UNOCONTROLS_SOURCE_INC_FRAMECONTROL_HXX +#pragma once #include #include @@ -180,6 +179,5 @@ private: } -#endif // INCLUDED_UNOCONTROLS_SOURCE_INC_FRAMECONTROL_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/UnoControls/source/inc/progressbar.hxx b/UnoControls/source/inc/progressbar.hxx index 9313bcb45e92..8a3f4db1b181 100644 --- a/UnoControls/source/inc/progressbar.hxx +++ b/UnoControls/source/inc/progressbar.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOCONTROLS_SOURCE_INC_PROGRESSBAR_HXX -#define INCLUDED_UNOCONTROLS_SOURCE_INC_PROGRESSBAR_HXX +#pragma once #include @@ -142,6 +141,5 @@ private: } -#endif // INCLUDED_UNOCONTROLS_SOURCE_INC_PROGRESSBAR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/UnoControls/source/inc/progressmonitor.hxx b/UnoControls/source/inc/progressmonitor.hxx index 339b6e6cb6cc..bbb4837347a6 100644 --- a/UnoControls/source/inc/progressmonitor.hxx +++ b/UnoControls/source/inc/progressmonitor.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOCONTROLS_SOURCE_INC_PROGRESSMONITOR_HXX -#define INCLUDED_UNOCONTROLS_SOURCE_INC_PROGRESSMONITOR_HXX +#pragma once #include #include @@ -253,6 +252,5 @@ private: } -#endif // INCLUDED_UNOCONTROLS_SOURCE_INC_PROGRESSMONITOR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/UnoControls/source/inc/statusindicator.hxx b/UnoControls/source/inc/statusindicator.hxx index daff3e169b47..7676f12902d3 100644 --- a/UnoControls/source/inc/statusindicator.hxx +++ b/UnoControls/source/inc/statusindicator.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_UNOCONTROLS_SOURCE_INC_STATUSINDICATOR_HXX -#define INCLUDED_UNOCONTROLS_SOURCE_INC_STATUSINDICATOR_HXX +#pragma once #include #include @@ -176,6 +175,5 @@ private: } -#endif // INCLUDED_UNOCONTROLS_SOURCE_INC_STATUSINDICATOR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit