diff options
author | George Bateman <george.bateman16@gmail.com> | 2020-09-13 12:12:01 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-13 19:09:54 +0200 |
commit | dcbe844e291b7efa9ea7eaf280186ce97df075b2 (patch) | |
tree | 8fb4f984fb1f444612ef756dca2bc0a80bc2a57a /desktop/source/migration | |
parent | d4ceea4ca9d9abb47a6f84da138c2918bc7100e0 (diff) |
tdf#124176 Use #pragma once in desktop
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: I26f01467d2a572a51c7ace76628d4a8f96f249a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102553
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'desktop/source/migration')
6 files changed, 6 insertions, 24 deletions
diff --git a/desktop/source/migration/migration_impl.hxx b/desktop/source/migration/migration_impl.hxx index a66c2ea0f113..46bd5d883805 100644 --- a/desktop/source/migration/migration_impl.hxx +++ b/desktop/source/migration/migration_impl.hxx @@ -16,8 +16,7 @@ * 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_DESKTOP_SOURCE_MIGRATION_MIGRATION_IMPL_HXX -#define INCLUDED_DESKTOP_SOURCE_MIGRATION_MIGRATION_IMPL_HXX +#pragma once #include <memory> #include <unordered_map> @@ -193,6 +192,4 @@ public: }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/desktop/source/migration/services/basicmigration.hxx b/desktop/source/migration/services/basicmigration.hxx index 80438223dba4..c25b48ba11ac 100644 --- a/desktop/source/migration/services/basicmigration.hxx +++ b/desktop/source/migration/services/basicmigration.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_BASICMIGRATION_HXX -#define INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_BASICMIGRATION_HXX +#pragma once #include "misc.hxx" #include <com/sun/star/lang/XServiceInfo.hpp> @@ -70,6 +69,4 @@ namespace migration } // namespace migration -#endif // INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_BASICMIGRATION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/desktop/source/migration/services/jvmfwk.hxx b/desktop/source/migration/services/jvmfwk.hxx index 31c35feb489e..53495c93590e 100644 --- a/desktop/source/migration/services/jvmfwk.hxx +++ b/desktop/source/migration/services/jvmfwk.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_JVMFWK_HXX -#define INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_JVMFWK_HXX +#pragma once #include <rtl/ustring.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -33,6 +32,4 @@ css::uno::Sequence< OUString > jvmfwk_getSupportedServiceNames(); } //end blind namespace -#endif // INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_JVMFWK_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/desktop/source/migration/services/misc.hxx b/desktop/source/migration/services/misc.hxx index ca1320a2ac5d..c3b83b82e619 100644 --- a/desktop/source/migration/services/misc.hxx +++ b/desktop/source/migration/services/misc.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_MISC_HXX -#define INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_MISC_HXX +#pragma once #include <rtl/ustring.hxx> @@ -37,6 +36,4 @@ namespace migration } // namespace migration -#endif // INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_MISC_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/desktop/source/migration/services/oo3extensionmigration.hxx b/desktop/source/migration/services/oo3extensionmigration.hxx index f2aae3b4adbb..586e7e99e3b1 100644 --- a/desktop/source/migration/services/oo3extensionmigration.hxx +++ b/desktop/source/migration/services/oo3extensionmigration.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_OO3EXTENSIONMIGRATION_HXX -#define INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_OO3EXTENSIONMIGRATION_HXX +#pragma once #include "misc.hxx" #include <com/sun/star/lang/XServiceInfo.hpp> @@ -115,6 +114,4 @@ namespace migration } // namespace migration -#endif // INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_OO3EXTENSIONMIGRATION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/desktop/source/migration/services/wordbookmigration.hxx b/desktop/source/migration/services/wordbookmigration.hxx index b6a7f2d79798..40deda7e5431 100644 --- a/desktop/source/migration/services/wordbookmigration.hxx +++ b/desktop/source/migration/services/wordbookmigration.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_WORDBOOKMIGRATION_HXX -#define INCLUDED_DESKTOP_SOURCE_MIGRATION_SERVICES_WORDBOOKMIGRATION_HXX +#pragma once #include "misc.hxx" #include <com/sun/star/lang/XServiceInfo.hpp> @@ -71,6 +70,4 @@ namespace migration } // namespace migration -#endif // _DESKTOP_AUTOCORRMIGRATION_HXX_ - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |