diff options
author | Vincent LE GARREC <libreoffice@le-garrec.fr> | 2021-03-06 09:51:47 +0100 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-03-23 13:14:42 +0100 |
commit | aef40e738842522c050538cc8a62c2d1f4861861 (patch) | |
tree | ecbde063724dd36e9e3401aed887331f0e6f8f40 /xmlsecurity/inc/xmlsec | |
parent | 90c978f839e5029c69b4acb70f37909ee3016614 (diff) |
tdf#124176 Use pragma once in x*
xmlhelp, xmloff, xmlsecurity
Change-Id: I80c6fa806387f3dcba8be7f93fe2fef146b033e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112050
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'xmlsecurity/inc/xmlsec')
-rw-r--r-- | xmlsecurity/inc/xmlsec/errorcallback.hxx | 5 | ||||
-rw-r--r-- | xmlsecurity/inc/xmlsec/saxhelper.hxx | 5 | ||||
-rw-r--r-- | xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx | 5 | ||||
-rw-r--r-- | xmlsecurity/inc/xmlsec/xmlsec_init.hxx | 5 | ||||
-rw-r--r-- | xmlsecurity/inc/xmlsec/xmlstreamio.hxx | 5 |
5 files changed, 5 insertions, 20 deletions
diff --git a/xmlsecurity/inc/xmlsec/errorcallback.hxx b/xmlsecurity/inc/xmlsec/errorcallback.hxx index 511d20ae1840..80ba564e9b2a 100644 --- a/xmlsecurity/inc/xmlsec/errorcallback.hxx +++ b/xmlsecurity/inc/xmlsec/errorcallback.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLSECURITY_SOURCE_XMLSEC_ERRORCALLBACK_HXX -#define INCLUDED_XMLSECURITY_SOURCE_XMLSEC_ERRORCALLBACK_HXX +#pragma once #include <xsecxmlsecdllapi.h> @@ -28,6 +27,4 @@ void setErrorRecorder(); //void setErrorRecorder(const css::uno::Reference< css::xml::crypto::XXMLEncryptionTemplate >& xTemplate); void clearErrorRecorder(); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlsecurity/inc/xmlsec/saxhelper.hxx b/xmlsecurity/inc/xmlsec/saxhelper.hxx index af3d4ca259d1..a49ccef1894c 100644 --- a/xmlsecurity/inc/xmlsec/saxhelper.hxx +++ b/xmlsecurity/inc/xmlsec/saxhelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLSECURITY_INC_XMLSEC_SAXHELPER_HXX -#define INCLUDED_XMLSECURITY_INC_XMLSEC_SAXHELPER_HXX +#pragma once #include <sal/config.h> @@ -83,6 +82,4 @@ class SAXHelper final } ; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx b/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx index ed984cfa176e..8f5695d10dfe 100644 --- a/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx +++ b/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLSECURITY_INC_XMLSEC_XMLDOCUMENTWRAPPER_XMLSECIMPL_HXX -#define INCLUDED_XMLSECURITY_INC_XMLSEC_XMLDOCUMENTWRAPPER_XMLSECIMPL_HXX +#pragma once #include <com/sun/star/xml/wrapper/XXMLDocumentWrapper.hpp> #include <com/sun/star/xml/csax/XCompressedDocumentHandler.hpp> @@ -206,6 +205,4 @@ public: virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlsecurity/inc/xmlsec/xmlsec_init.hxx b/xmlsecurity/inc/xmlsec/xmlsec_init.hxx index 6dc4de2a63cf..417acd288b3c 100644 --- a/xmlsecurity/inc/xmlsec/xmlsec_init.hxx +++ b/xmlsecurity/inc/xmlsec/xmlsec_init.hxx @@ -7,14 +7,11 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#ifndef INCLUDED_XMLSECURITY_SOURCE_XMLSEC_XMLSEC_INIT_HXX -#define INCLUDED_XMLSECURITY_SOURCE_XMLSEC_XMLSEC_INIT_HXX +#pragma once #include <xsecxmlsecdllapi.h> XSECXMLSEC_DLLPUBLIC void initXmlSec(); XSECXMLSEC_DLLPUBLIC void deInitXmlSec(); -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlsecurity/inc/xmlsec/xmlstreamio.hxx b/xmlsecurity/inc/xmlsec/xmlstreamio.hxx index c78b717f3964..6e3d506a4d00 100644 --- a/xmlsecurity/inc/xmlsec/xmlstreamio.hxx +++ b/xmlsecurity/inc/xmlsec/xmlstreamio.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLSECURITY_SOURCE_XMLSEC_XMLSTREAMIO_HXX -#define INCLUDED_XMLSECURITY_SOURCE_XMLSEC_XMLSTREAMIO_HXX +#pragma once #include <xsecxmlsecdllapi.h> @@ -37,6 +36,4 @@ int xmlRegisterStreamInputCallbacks( css::uno::Reference<css::xml::crypto::XUriBinding> const& aUriBinding); int xmlUnregisterStreamInputCallbacks(); -#endif // INCLUDED_XMLSECURITY_SOURCE_XMLSEC_XMLSTREAMIO_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |