diff options
author | Vincent LE GARREC <libreoffice@le-garrec.fr> | 2021-03-06 09:49:30 +0100 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-03-23 13:39:56 +0100 |
commit | 24552a0b5be620b5e58b10842cba78e36fa26b04 (patch) | |
tree | df793dbd1f18169a93be145ae5ded9cca2f6cc67 /scripting/source/provider | |
parent | 59b0dd6e94c876dd322503f326fedf5fa350d25e (diff) |
tdf#124176 Use pragma once in s*
sc, scaddins, sccomp, scripting
Change-Id: Ia99fec9e238033821cb784810edd4762c09bd5db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112049
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'scripting/source/provider')
-rw-r--r-- | scripting/source/provider/ActiveMSPList.hxx | 4 | ||||
-rw-r--r-- | scripting/source/provider/BrowseNodeFactoryImpl.hxx | 5 | ||||
-rw-r--r-- | scripting/source/provider/MasterScriptProvider.hxx | 5 | ||||
-rw-r--r-- | scripting/source/provider/MasterScriptProviderFactory.hxx | 5 | ||||
-rw-r--r-- | scripting/source/provider/ProviderCache.hxx | 4 | ||||
-rw-r--r-- | scripting/source/provider/URIHelper.hxx | 4 |
6 files changed, 6 insertions, 21 deletions
diff --git a/scripting/source/provider/ActiveMSPList.hxx b/scripting/source/provider/ActiveMSPList.hxx index a17286439e2f..3685e666cdef 100644 --- a/scripting/source/provider/ActiveMSPList.hxx +++ b/scripting/source/provider/ActiveMSPList.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_SCRIPTING_SOURCE_PROVIDER_ACTIVEMSPLIST_HXX -#define INCLUDED_SCRIPTING_SOURCE_PROVIDER_ACTIVEMSPLIST_HXX +#pragma once #include <osl/mutex.hxx> #include <rtl/ustring.hxx> @@ -91,6 +90,5 @@ private: css::uno::Reference< css::uno::XComponentContext > m_xContext; }; } // func_provider -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/scripting/source/provider/BrowseNodeFactoryImpl.hxx b/scripting/source/provider/BrowseNodeFactoryImpl.hxx index 6f79e4fb8466..908568021039 100644 --- a/scripting/source/provider/BrowseNodeFactoryImpl.hxx +++ b/scripting/source/provider/BrowseNodeFactoryImpl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SCRIPTING_SOURCE_PROVIDER_BROWSENODEFACTORYIMPL_HXX -#define INCLUDED_SCRIPTING_SOURCE_PROVIDER_BROWSENODEFACTORYIMPL_HXX +#pragma once #include <rtl/ustring.hxx> #include <cppuhelper/implbase.hxx> @@ -68,6 +67,4 @@ private: } // namespace browsenodefactory -#endif // INCLUDED_SCRIPTING_SOURCE_PROVIDER_BROWSENODEFACTORYIMPL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/scripting/source/provider/MasterScriptProvider.hxx b/scripting/source/provider/MasterScriptProvider.hxx index c35bdc90e13c..2328746f950a 100644 --- a/scripting/source/provider/MasterScriptProvider.hxx +++ b/scripting/source/provider/MasterScriptProvider.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SCRIPTING_SOURCE_PROVIDER_MASTERSCRIPTPROVIDER_HXX -#define INCLUDED_SCRIPTING_SOURCE_PROVIDER_MASTERSCRIPTPROVIDER_HXX +#pragma once #include <rtl/ustring.hxx> @@ -128,6 +127,4 @@ private: } -#endif // INCLUDED_SCRIPTING_SOURCE_PROVIDER_MASTERSCRIPTPROVIDER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/scripting/source/provider/MasterScriptProviderFactory.hxx b/scripting/source/provider/MasterScriptProviderFactory.hxx index aea06278aacd..9fbc8705db77 100644 --- a/scripting/source/provider/MasterScriptProviderFactory.hxx +++ b/scripting/source/provider/MasterScriptProviderFactory.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SCRIPTING_SOURCE_PROVIDER_MASTERSCRIPTPROVIDERFACTORY_HXX -#define INCLUDED_SCRIPTING_SOURCE_PROVIDER_MASTERSCRIPTPROVIDERFACTORY_HXX +#pragma once #include <rtl/ustring.hxx> #include <rtl/ref.hxx> @@ -72,6 +71,4 @@ public: } // namespace func_provider -#endif // INCLUDED_SCRIPTING_SOURCE_PROVIDER_MASTERSCRIPTPROVIDERFACTORY_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/scripting/source/provider/ProviderCache.hxx b/scripting/source/provider/ProviderCache.hxx index b2a35a58d172..5e00217875a2 100644 --- a/scripting/source/provider/ProviderCache.hxx +++ b/scripting/source/provider/ProviderCache.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SCRIPTING_SOURCE_PROVIDER_PROVIDERCACHE_HXX -#define INCLUDED_SCRIPTING_SOURCE_PROVIDER_PROVIDERCACHE_HXX +#pragma once #include <osl/mutex.hxx> #include <rtl/ustring.hxx> @@ -77,6 +76,5 @@ private: }; } // func_provider -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/scripting/source/provider/URIHelper.hxx b/scripting/source/provider/URIHelper.hxx index 7cf91e686b8d..e7a05fd73d99 100644 --- a/scripting/source/provider/URIHelper.hxx +++ b/scripting/source/provider/URIHelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_SCRIPTING_SOURCE_PROVIDER_URIHELPER_HXX -#define INCLUDED_SCRIPTING_SOURCE_PROVIDER_URIHELPER_HXX +#pragma once #include <com/sun/star/script/provider/XScriptURIHelper.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> @@ -84,6 +83,5 @@ public: }; } // namespace func_provider -#endif // INCLUDED_SCRIPTING_SOURCE_PROVIDER_URIHELPER_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |