diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-12-28 00:51:41 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-12-28 10:31:38 +0100 |
commit | 0104c28ceac5f2802a34305e85edc2d9ffe252ba (patch) | |
tree | a3ecf6f2834b9a25a86529842f2a78c8d1b2ff0c /UnoControls | |
parent | e22a3f596ce50b5166063e217d96ef674a54d380 (diff) |
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 <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'UnoControls')
-rw-r--r-- | UnoControls/inc/basecontainercontrol.hxx | 4 | ||||
-rw-r--r-- | UnoControls/inc/basecontrol.hxx | 4 | ||||
-rw-r--r-- | UnoControls/inc/multiplexer.hxx | 4 | ||||
-rw-r--r-- | UnoControls/source/inc/OConnectionPointContainerHelper.hxx | 4 | ||||
-rw-r--r-- | UnoControls/source/inc/OConnectionPointHelper.hxx | 4 | ||||
-rw-r--r-- | UnoControls/source/inc/framecontrol.hxx | 4 | ||||
-rw-r--r-- | UnoControls/source/inc/progressbar.hxx | 4 | ||||
-rw-r--r-- | UnoControls/source/inc/progressmonitor.hxx | 4 | ||||
-rw-r--r-- | UnoControls/source/inc/statusindicator.hxx | 4 |
9 files changed, 9 insertions, 27 deletions
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 <memory> #include <vector> @@ -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 <com/sun/star/awt/XPaintListener.hpp> #include <com/sun/star/awt/XWindowListener.hpp> @@ -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 <com/sun/star/awt/XKeyListener.hpp> #include <com/sun/star/awt/XPaintListener.hpp> @@ -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 <com/sun/star/lang/XConnectionPointContainer.hpp> #include <cppuhelper/weak.hxx> @@ -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 <com/sun/star/lang/XConnectionPoint.hpp> #include <cppuhelper/weak.hxx> @@ -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 <com/sun/star/lang/XConnectionPointContainer.hpp> #include <cppuhelper/propshlp.hxx> @@ -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 <com/sun/star/awt/XProgressBar.hpp> @@ -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 <com/sun/star/awt/XProgressMonitor.hpp> #include <com/sun/star/awt/XButton.hpp> @@ -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 <com/sun/star/awt/XLayoutConstrains.hpp> #include <com/sun/star/task/XStatusIndicator.hpp> @@ -176,6 +175,5 @@ private: } -#endif // INCLUDED_UNOCONTROLS_SOURCE_INC_STATUSINDICATOR_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |