diff options
author | Shobhit <000shobhitchaurasia@gmail.com> | 2021-01-31 20:35:58 +0530 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-01-31 18:11:26 +0100 |
commit | c098d1a957789f9af930438e60dbcbc5ecfc953a (patch) | |
tree | 3ad76389cb1ebc6da2cf5237d530bd0c34a90e29 /include/xmlreader | |
parent | Update git submodules (diff) | |
download | core-c098d1a957789f9af930438e60dbcbc5ecfc953a.tar.gz core-c098d1a957789f9af930438e60dbcbc5ecfc953a.zip |
tdf#124176: Use pragma once instead of include guards
Change-Id: Iedaa6ac7b326fead2545943e3bbe605882c1337b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110204
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'include/xmlreader')
-rw-r--r-- | include/xmlreader/detail/xmlreaderdllapi.hxx | 5 | ||||
-rw-r--r-- | include/xmlreader/pad.hxx | 5 | ||||
-rw-r--r-- | include/xmlreader/span.hxx | 5 | ||||
-rw-r--r-- | include/xmlreader/xmlreader.hxx | 5 |
4 files changed, 4 insertions, 16 deletions
diff --git a/include/xmlreader/detail/xmlreaderdllapi.hxx b/include/xmlreader/detail/xmlreaderdllapi.hxx index e917a9553835..10708b71eb4c 100644 --- a/include/xmlreader/detail/xmlreaderdllapi.hxx +++ b/include/xmlreader/detail/xmlreaderdllapi.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLREADER_DETAIL_XMLREADERDLLAPI_HXX -#define INCLUDED_XMLREADER_DETAIL_XMLREADERDLLAPI_HXX +#pragma once #include <sal/config.h> @@ -30,6 +29,4 @@ #define OOO_DLLPUBLIC_XMLREADER SAL_DLLPUBLIC_IMPORT #endif -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/xmlreader/pad.hxx b/include/xmlreader/pad.hxx index b142cebcdd41..3aa73d57eab4 100644 --- a/include/xmlreader/pad.hxx +++ b/include/xmlreader/pad.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLREADER_PAD_HXX -#define INCLUDED_XMLREADER_PAD_HXX +#pragma once #include <sal/config.h> @@ -52,6 +51,4 @@ private: }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/xmlreader/span.hxx b/include/xmlreader/span.hxx index bc2dbaacbe56..42bb9a6efc21 100644 --- a/include/xmlreader/span.hxx +++ b/include/xmlreader/span.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLREADER_SPAN_HXX -#define INCLUDED_XMLREADER_SPAN_HXX +#pragma once #include <sal/config.h> @@ -80,6 +79,4 @@ struct SAL_WARN_UNUSED OOO_DLLPUBLIC_XMLREADER Span { } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/xmlreader/xmlreader.hxx b/include/xmlreader/xmlreader.hxx index 4e9f1347a7e5..e55e5d2cadd4 100644 --- a/include/xmlreader/xmlreader.hxx +++ b/include/xmlreader/xmlreader.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_XMLREADER_XMLREADER_HXX -#define INCLUDED_XMLREADER_XMLREADER_HXX +#pragma once #include <sal/config.h> @@ -184,6 +183,4 @@ private: } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |