diff options
author | George Bateman <george.bateman16@gmail.com> | 2020-09-13 12:15:12 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-13 17:52:06 +0200 |
commit | 66253cace2db6026ec636a4a8b6062f125957da7 (patch) | |
tree | 37b35822de8adf2a3c6ac63667a702f34e24e889 /editeng/source | |
parent | 3dbc14db0aad072844b30e873c2d53978ea8e1c3 (diff) |
tdf#124176 Use #pragma once in editeng
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: Ib435cc551e1fa301bf4ee3e796241e6b9219dc87
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102576
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/accessibility/AccessibleHyperlink.hxx | 5 | ||||
-rw-r--r-- | editeng/source/accessibility/AccessibleImageBullet.hxx | 5 | ||||
-rw-r--r-- | editeng/source/editeng/eeobj.hxx | 5 | ||||
-rw-r--r-- | editeng/source/editeng/eertfpar.hxx | 5 | ||||
-rw-r--r-- | editeng/source/editeng/impedit.hxx | 5 | ||||
-rw-r--r-- | editeng/source/editeng/textconv.hxx | 5 | ||||
-rw-r--r-- | editeng/source/misc/SvXMLAutoCorrectExport.hxx | 4 | ||||
-rw-r--r-- | editeng/source/misc/SvXMLAutoCorrectImport.hxx | 5 | ||||
-rw-r--r-- | editeng/source/outliner/outleeng.hxx | 5 | ||||
-rw-r--r-- | editeng/source/outliner/outlundo.hxx | 5 | ||||
-rw-r--r-- | editeng/source/outliner/paralist.hxx | 5 | ||||
-rw-r--r-- | editeng/source/uno/unofored_internal.hxx | 5 | ||||
-rw-r--r-- | editeng/source/xml/editsource.hxx | 5 |
13 files changed, 13 insertions, 51 deletions
diff --git a/editeng/source/accessibility/AccessibleHyperlink.hxx b/editeng/source/accessibility/AccessibleHyperlink.hxx index 93e6177a8706..7e4f36a6bb77 100644 --- a/editeng/source/accessibility/AccessibleHyperlink.hxx +++ b/editeng/source/accessibility/AccessibleHyperlink.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EDITENG_SOURCE_ACCESSIBILITY_ACCESSIBLEHYPERLINK_HXX -#define INCLUDED_EDITENG_SOURCE_ACCESSIBILITY_ACCESSIBLEHYPERLINK_HXX +#pragma once #include <cppuhelper/implbase.hxx> @@ -62,6 +61,4 @@ namespace accessibility } // end of namespace accessibility -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/source/accessibility/AccessibleImageBullet.hxx b/editeng/source/accessibility/AccessibleImageBullet.hxx index b09e393cbae0..8d75494a994b 100644 --- a/editeng/source/accessibility/AccessibleImageBullet.hxx +++ b/editeng/source/accessibility/AccessibleImageBullet.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EDITENG_ACCESSIBLEIMAGEBULLET_HXX -#define INCLUDED_EDITENG_ACCESSIBLEIMAGEBULLET_HXX +#pragma once #include <tools/gen.hxx> #include <cppuhelper/implbase.hxx> @@ -196,6 +195,4 @@ namespace accessibility } // end of namespace accessibility -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/source/editeng/eeobj.hxx b/editeng/source/editeng/eeobj.hxx index bc7fd6669a33..de06f1b703da 100644 --- a/editeng/source/editeng/eeobj.hxx +++ b/editeng/source/editeng/eeobj.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EDITENG_SOURCE_EDITENG_EEOBJ_HXX -#define INCLUDED_EDITENG_SOURCE_EDITENG_EEOBJ_HXX +#pragma once #include <cppuhelper/implbase.hxx> #include <com/sun/star/datatransfer/XTransferable.hpp> @@ -48,6 +47,4 @@ public: sal_Bool SAL_CALL isDataFlavorSupported( const css::datatransfer::DataFlavor& aFlavor ) override; }; -#endif // INCLUDED_EDITENG_SOURCE_EDITENG_EEOBJ_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/source/editeng/eertfpar.hxx b/editeng/source/editeng/eertfpar.hxx index 7005a5276ff2..140385027b1a 100644 --- a/editeng/source/editeng/eertfpar.hxx +++ b/editeng/source/editeng/eertfpar.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_EDITENG_SOURCE_EDITENG_EERTFPAR_HXX -#define INCLUDED_EDITENG_SOURCE_EDITENG_EERTFPAR_HXX +#pragma once #include <editeng/svxrtf.hxx> @@ -64,6 +63,4 @@ public: typedef tools::SvRef<EditRTFParser> EditRTFParserRef; -#endif // INCLUDED_EDITENG_SOURCE_EDITENG_EERTFPAR_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx index 77d8059fdcdb..e9493ecdfa5b 100644 --- a/editeng/source/editeng/impedit.hxx +++ b/editeng/source/editeng/impedit.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_EDITENG_SOURCE_EDITENG_IMPEDIT_HXX -#define INCLUDED_EDITENG_SOURCE_EDITENG_IMPEDIT_HXX +#pragma once #include <eerdll2.hxx> #include <editdoc.hxx> @@ -1290,7 +1289,5 @@ void ConvertAndPutItems( SfxItemSet& rDest, const SfxItemSet& rSource, const Map AsianCompressionFlags GetCharTypeForCompression( sal_Unicode cChar ); Point Rotate( const Point& rPoint, short nOrientation, const Point& rOrigin ); -#endif // INCLUDED_EDITENG_SOURCE_EDITENG_IMPEDIT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/source/editeng/textconv.hxx b/editeng/source/editeng/textconv.hxx index 1acb9a7148f5..536c0c1674d8 100644 --- a/editeng/source/editeng/textconv.hxx +++ b/editeng/source/editeng/textconv.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_EDITENG_SOURCE_EDITENG_TEXTCONV_HXX -#define INCLUDED_EDITENG_SOURCE_EDITENG_TEXTCONV_HXX +#pragma once #include <editeng/editdata.hxx> #include <editeng/svxenum.hxx> @@ -105,6 +104,4 @@ public: void Convert(); }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/source/misc/SvXMLAutoCorrectExport.hxx b/editeng/source/misc/SvXMLAutoCorrectExport.hxx index b9729de4ee2d..58570e3ad191 100644 --- a/editeng/source/misc/SvXMLAutoCorrectExport.hxx +++ b/editeng/source/misc/SvXMLAutoCorrectExport.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_EDITENG_SOURCE_MISC_SVXMLAUTOCORRECTEXPORT_HXX -#define INCLUDED_EDITENG_SOURCE_MISC_SVXMLAUTOCORRECTEXPORT_HXX +#pragma once #include <xmloff/xmlexp.hxx> #include <editeng/svxacorr.hxx> @@ -57,6 +56,5 @@ public: void ExportMasterStyles_ () override {} void ExportContent_() override {} }; -#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/source/misc/SvXMLAutoCorrectImport.hxx b/editeng/source/misc/SvXMLAutoCorrectImport.hxx index c45180608390..d04e8f1a10ef 100644 --- a/editeng/source/misc/SvXMLAutoCorrectImport.hxx +++ b/editeng/source/misc/SvXMLAutoCorrectImport.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_EDITENG_SOURCE_MISC_SVXMLAUTOCORRECTIMPORT_HXX -#define INCLUDED_EDITENG_SOURCE_MISC_SVXMLAUTOCORRECTIMPORT_HXX +#pragma once #include <sot/storage.hxx> #include <xmloff/xmlictxt.hxx> @@ -119,6 +118,4 @@ public: }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/source/outliner/outleeng.hxx b/editeng/source/outliner/outleeng.hxx index 2d2119593ba3..bb911b711c5b 100644 --- a/editeng/source/outliner/outleeng.hxx +++ b/editeng/source/outliner/outleeng.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_EDITENG_SOURCE_OUTLINER_OUTLEENG_HXX -#define INCLUDED_EDITENG_SOURCE_OUTLINER_OUTLEENG_HXX +#pragma once #include <editeng/outliner.hxx> #include <editeng/editeng.hxx> @@ -82,6 +81,4 @@ public: NotifyList aNotifyCache; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/source/outliner/outlundo.hxx b/editeng/source/outliner/outlundo.hxx index 68b518474b6b..066b415e138b 100644 --- a/editeng/source/outliner/outlundo.hxx +++ b/editeng/source/outliner/outlundo.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EDITENG_SOURCE_OUTLINER_OUTLUNDO_HXX -#define INCLUDED_EDITENG_SOURCE_OUTLINER_OUTLUNDO_HXX +#pragma once #include <editeng/outliner.hxx> #include <editeng/editund2.hxx> @@ -116,6 +115,4 @@ public: sal_Int32 nCount; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/source/outliner/paralist.hxx b/editeng/source/outliner/paralist.hxx index 0b60ac78eb9c..47413ff5ff6c 100644 --- a/editeng/source/outliner/paralist.hxx +++ b/editeng/source/outliner/paralist.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EDITENG_SOURCE_OUTLINER_PARALIST_HXX -#define INCLUDED_EDITENG_SOURCE_OUTLINER_PARALIST_HXX +#pragma once #include <sal/config.h> #include <sal/log.hxx> @@ -80,6 +79,4 @@ private: std::vector<std::unique_ptr<Paragraph>> maEntries; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/source/uno/unofored_internal.hxx b/editeng/source/uno/unofored_internal.hxx index 6714e1395bef..f58b8aa98b55 100644 --- a/editeng/source/uno/unofored_internal.hxx +++ b/editeng/source/uno/unofored_internal.hxx @@ -17,14 +17,11 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EDITENG_SOURCE_UNO_UNFORED_INTERNAL_HXX -#define INCLUDED_EDITENG_SOURCE_UNO_UNFORED_INTERNAL_HXX +#pragma once #include <editeng/editeng.hxx> SfxItemState GetSvxEditEngineItemState( EditEngine const & rEditEngine, const ESelection& rSel, sal_uInt16 nWhich ); -#endif // INCLUDED_EDITENG_SOURCE_UNO_UNFORED_INTERNAL_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/source/xml/editsource.hxx b/editeng/source/xml/editsource.hxx index 51d5fc968976..726ddabc8c9e 100644 --- a/editeng/source/xml/editsource.hxx +++ b/editeng/source/xml/editsource.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_EDITENG_SOURCE_XML_EDITSOURCE_HXX -#define INCLUDED_EDITENG_SOURCE_XML_EDITSOURCE_HXX +#pragma once #include <editeng/unoedsrc.hxx> @@ -41,6 +40,4 @@ private: rtl::Reference<SvxEditEngineSourceImpl> mxImpl; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |