diff options
author | Vincent LE GARREC <libreoffice@le-garrec.fr> | 2021-03-06 08:21:49 +0100 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2021-03-23 13:07:09 +0100 |
commit | 90c978f839e5029c69b4acb70f37909ee3016614 (patch) | |
tree | ac5c8cd53cf72ddc2336d53ab3f4b40661e30091 /framework/inc/xml | |
parent | 88eb9f73ff32ed5a2cf696de9e076e7dfee36d8d (diff) |
tdf#124176 Use pragma once in f*
filter, forms, fpicker, framework
Change-Id: I55a25ad2dc3749e63465e638e8eeea3c322eabbf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112047
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Diffstat (limited to 'framework/inc/xml')
-rw-r--r-- | framework/inc/xml/acceleratorconfigurationreader.hxx | 5 | ||||
-rw-r--r-- | framework/inc/xml/acceleratorconfigurationwriter.hxx | 5 | ||||
-rw-r--r-- | framework/inc/xml/imagesconfiguration.hxx | 5 | ||||
-rw-r--r-- | framework/inc/xml/imagesdocumenthandler.hxx | 5 | ||||
-rw-r--r-- | framework/inc/xml/menudocumenthandler.hxx | 5 | ||||
-rw-r--r-- | framework/inc/xml/saxnamespacefilter.hxx | 5 | ||||
-rw-r--r-- | framework/inc/xml/statusbardocumenthandler.hxx | 5 | ||||
-rw-r--r-- | framework/inc/xml/toolboxconfigurationdefines.hxx | 5 | ||||
-rw-r--r-- | framework/inc/xml/toolboxdocumenthandler.hxx | 5 | ||||
-rw-r--r-- | framework/inc/xml/xmlnamespaces.hxx | 5 |
10 files changed, 10 insertions, 40 deletions
diff --git a/framework/inc/xml/acceleratorconfigurationreader.hxx b/framework/inc/xml/acceleratorconfigurationreader.hxx index b86bb1095e83..775463013749 100644 --- a/framework/inc/xml/acceleratorconfigurationreader.hxx +++ b/framework/inc/xml/acceleratorconfigurationreader.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_ACCELERATORCONFIGURATIONREADER_HXX -#define INCLUDED_FRAMEWORK_INC_XML_ACCELERATORCONFIGURATIONREADER_HXX +#pragma once #include <accelerators/acceleratorcache.hxx> @@ -131,6 +130,4 @@ class AcceleratorConfigurationReader final : public ::cppu::WeakImplHelper< css: } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_XML_ACCELERATORCONFIGURATIONREADER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/acceleratorconfigurationwriter.hxx b/framework/inc/xml/acceleratorconfigurationwriter.hxx index f66b5f6da143..ce28896b1118 100644 --- a/framework/inc/xml/acceleratorconfigurationwriter.hxx +++ b/framework/inc/xml/acceleratorconfigurationwriter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_ACCELERATORCONFIGURATIONWRITER_HXX -#define INCLUDED_FRAMEWORK_INC_XML_ACCELERATORCONFIGURATIONWRITER_HXX +#pragma once #include <accelerators/acceleratorcache.hxx> @@ -76,6 +75,4 @@ class AcceleratorConfigurationWriter final } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_XML_ACCELERATORCONFIGURATIONWRITER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/imagesconfiguration.hxx b/framework/inc/xml/imagesconfiguration.hxx index cadf20e92272..4b17b7c98d84 100644 --- a/framework/inc/xml/imagesconfiguration.hxx +++ b/framework/inc/xml/imagesconfiguration.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_IMAGESCONFIGURATION_HXX -#define INCLUDED_FRAMEWORK_INC_XML_IMAGESCONFIGURATION_HXX +#pragma once #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/io/XOutputStream.hpp> @@ -52,6 +51,4 @@ class ImagesConfiguration } // namespace framework -#endif // __FRAMEWORK_CLASSES_IMAGES - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/imagesdocumenthandler.hxx b/framework/inc/xml/imagesdocumenthandler.hxx index f9cbd6122f78..d8cd84f4dfe4 100644 --- a/framework/inc/xml/imagesdocumenthandler.hxx +++ b/framework/inc/xml/imagesdocumenthandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_IMAGESDOCUMENTHANDLER_HXX -#define INCLUDED_FRAMEWORK_INC_XML_IMAGESDOCUMENTHANDLER_HXX +#pragma once #include <com/sun/star/xml/sax/XDocumentHandler.hpp> @@ -131,6 +130,4 @@ class OWriteImagesDocumentHandler final } // namespace framework -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/menudocumenthandler.hxx b/framework/inc/xml/menudocumenthandler.hxx index 5e28a94f8ca8..f3a0238d0bd7 100644 --- a/framework/inc/xml/menudocumenthandler.hxx +++ b/framework/inc/xml/menudocumenthandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_MENUDOCUMENTHANDLER_HXX -#define INCLUDED_FRAMEWORK_INC_XML_MENUDOCUMENTHANDLER_HXX +#pragma once #include <com/sun/star/xml/sax/XDocumentHandler.hpp> #include <com/sun/star/container/XIndexContainer.hpp> @@ -220,6 +219,4 @@ class OWriteMenuDocumentHandler final } // namespace framework -#endif // INCLUDED_FRAMEWORK_INC_XML_MENUDOCUMENTHANDLER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/saxnamespacefilter.hxx b/framework/inc/xml/saxnamespacefilter.hxx index 8b97a554d9cc..04f5bd4fe390 100644 --- a/framework/inc/xml/saxnamespacefilter.hxx +++ b/framework/inc/xml/saxnamespacefilter.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_SAXNAMESPACEFILTER_HXX -#define INCLUDED_FRAMEWORK_INC_XML_SAXNAMESPACEFILTER_HXX +#pragma once #include <com/sun/star/xml/sax/XDocumentHandler.hpp> #include <xml/xmlnamespaces.hxx> @@ -72,6 +71,4 @@ class SaxNamespaceFilter final : public SaxNamespaceFilter_Base } -#endif // INCLUDED_FRAMEWORK_INC_XML_SAXNAMESPACEFILTER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/statusbardocumenthandler.hxx b/framework/inc/xml/statusbardocumenthandler.hxx index fd38d5b64140..829cd0b9745a 100644 --- a/framework/inc/xml/statusbardocumenthandler.hxx +++ b/framework/inc/xml/statusbardocumenthandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_STATUSBARDOCUMENTHANDLER_HXX -#define INCLUDED_FRAMEWORK_INC_XML_STATUSBARDOCUMENTHANDLER_HXX +#pragma once #include <statusbarconfiguration.hxx> @@ -132,6 +131,4 @@ class OWriteStatusBarDocumentHandler final } // namespace framework -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/toolboxconfigurationdefines.hxx b/framework/inc/xml/toolboxconfigurationdefines.hxx index 505133bb5f22..c84adff58e8b 100644 --- a/framework/inc/xml/toolboxconfigurationdefines.hxx +++ b/framework/inc/xml/toolboxconfigurationdefines.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_FRAMEWORK_INC_XML_TOOLBOXCONFIGURATIONDEFINES_HXX -#define INCLUDED_FRAMEWORK_INC_XML_TOOLBOXCONFIGURATIONDEFINES_HXX +#pragma once #define XMLNS_TOOLBAR "http://openoffice.org/2001/toolbar" #define XMLNS_XLINK "http://www.w3.org/1999/xlink" @@ -63,6 +62,4 @@ #define ATTRIBUTE_ITEMSTYLE_DROPDOWNONLY "dropdownonly" #define ATTRIBUTE_ITEMSTYLE_IMAGE "image" -#endif // INCLUDED_FRAMEWORK_INC_XML_TOOLBOXCONFIGURATIONDEFINES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/toolboxdocumenthandler.hxx b/framework/inc/xml/toolboxdocumenthandler.hxx index 06ca242cd4dc..79657e5324e4 100644 --- a/framework/inc/xml/toolboxdocumenthandler.hxx +++ b/framework/inc/xml/toolboxdocumenthandler.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_TOOLBOXDOCUMENTHANDLER_HXX -#define INCLUDED_FRAMEWORK_INC_XML_TOOLBOXDOCUMENTHANDLER_HXX +#pragma once #include <toolboxconfiguration.hxx> @@ -156,6 +155,4 @@ class OWriteToolBoxDocumentHandler final } // namespace framework -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/framework/inc/xml/xmlnamespaces.hxx b/framework/inc/xml/xmlnamespaces.hxx index d02039321764..1c01b03ccee3 100644 --- a/framework/inc/xml/xmlnamespaces.hxx +++ b/framework/inc/xml/xmlnamespaces.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_FRAMEWORK_INC_XML_XMLNAMESPACES_HXX -#define INCLUDED_FRAMEWORK_INC_XML_XMLNAMESPACES_HXX +#pragma once #include <map> @@ -50,6 +49,4 @@ class XMLNamespaces final } -#endif // INCLUDED_FRAMEWORK_INC_XML_XMLNAMESPACES_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |