diff options
author | George Bateman <george.bateman16@gmail.com> | 2020-08-05 15:41:27 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-04 08:31:25 +0200 |
commit | 88da6b7b62dc0c391e28a920bb2d355bce89f8bf (patch) | |
tree | aa09d1be8bb92b07ec2bbed07b0b3d88c7697167 /comphelper/source/misc | |
parent | 1b43cceaea2084a0489db68cd0113508f34b6643 (diff) |
tdf#124176 Use #pragma once in comphelper
This commit was carried out by a Python script, source of which
is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97.
Change-Id: I72229dc1ef743f0394f778aec7c49c11fe7e5176
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100183
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'comphelper/source/misc')
-rw-r--r-- | comphelper/source/misc/instancelocker.hxx | 5 | ||||
-rw-r--r-- | comphelper/source/misc/officerestartmanager.hxx | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/comphelper/source/misc/instancelocker.hxx b/comphelper/source/misc/instancelocker.hxx index ff5cee4f4775..02180e511c0f 100644 --- a/comphelper/source/misc/instancelocker.hxx +++ b/comphelper/source/misc/instancelocker.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_COMPHELPER_SOURCE_MISC_INSTANCELOCKER_HXX -#define INCLUDED_COMPHELPER_SOURCE_MISC_INSTANCELOCKER_HXX +#pragma once #include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/util/XCloseListener.hpp> @@ -110,6 +109,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/comphelper/source/misc/officerestartmanager.hxx b/comphelper/source/misc/officerestartmanager.hxx index 865fc29b23b3..c473bfae4bec 100644 --- a/comphelper/source/misc/officerestartmanager.hxx +++ b/comphelper/source/misc/officerestartmanager.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_COMPHELPER_SOURCE_MISC_OFFICERESTARTMANAGER_HXX -#define INCLUDED_COMPHELPER_SOURCE_MISC_OFFICERESTARTMANAGER_HXX +#pragma once #include <com/sun/star/task/XRestartManager.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> @@ -63,6 +62,4 @@ public: } // namespace comphelper -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |