diff options
author | George Bateman <george.bateman16@gmail.com> | 2020-08-04 21:36:11 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-04 08:55:42 +0200 |
commit | df9ff47f984bfb8ce265cb73ec10a3dd5837bd10 (patch) | |
tree | 3add658814387dfeebf529df5f730de4b8904bbc /canvas/source/vcl | |
parent | 24491636d36a1d92a4bb9f3f1f1b2e65b81d8429 (diff) |
tdf#124176 Use #pragma once in canvas
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: Icd712adf20fa2dbaaea2fc33a0fd870c8595b7e2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100147
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'canvas/source/vcl')
-rw-r--r-- | canvas/source/vcl/backbuffer.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/bitmapbackbuffer.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/cachedbitmap.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/canvas.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/canvasbitmap.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/canvasbitmaphelper.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/canvascustomsprite.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/canvasfont.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/canvashelper.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/devicehelper.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/impltools.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/outdevprovider.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/repainttarget.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/sprite.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/spritecanvas.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/spritecanvashelper.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/spritedevicehelper.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/spritehelper.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/textlayout.hxx | 5 | ||||
-rw-r--r-- | canvas/source/vcl/windowoutdevholder.hxx | 5 |
20 files changed, 20 insertions, 80 deletions
diff --git a/canvas/source/vcl/backbuffer.hxx b/canvas/source/vcl/backbuffer.hxx index e6df6d857aaf..6bbeb85ec54b 100644 --- a/canvas/source/vcl/backbuffer.hxx +++ b/canvas/source/vcl/backbuffer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_BACKBUFFER_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_BACKBUFFER_HXX +#pragma once #include <vcl/virdev.hxx> @@ -55,6 +54,4 @@ namespace vclcanvas typedef std::shared_ptr< BackBuffer > BackBufferSharedPtr; } -#endif // INCLUDED_CANVAS_SOURCE_VCL_BACKBUFFER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/bitmapbackbuffer.hxx b/canvas/source/vcl/bitmapbackbuffer.hxx index fd2e45f5143a..9098e7e93813 100644 --- a/canvas/source/vcl/bitmapbackbuffer.hxx +++ b/canvas/source/vcl/bitmapbackbuffer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_BITMAPBACKBUFFER_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_BITMAPBACKBUFFER_HXX +#pragma once #include <vcl/virdev.hxx> #include <vcl/bitmapex.hxx> @@ -91,6 +90,4 @@ namespace vclcanvas } -#endif // INCLUDED_CANVAS_SOURCE_VCL_BITMAPBACKBUFFER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/cachedbitmap.hxx b/canvas/source/vcl/cachedbitmap.hxx index f76b2c3fc59e..1b3b396ebd5a 100644 --- a/canvas/source/vcl/cachedbitmap.hxx +++ b/canvas/source/vcl/cachedbitmap.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_CACHEDBITMAP_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_CACHEDBITMAP_HXX +#pragma once #include <com/sun/star/rendering/RenderState.hpp> #include <base/cachedprimitivebase.hxx> @@ -64,6 +63,4 @@ namespace vclcanvas }; } -#endif // INCLUDED_CANVAS_SOURCE_VCL_CACHEDBITMAP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/canvas.hxx b/canvas/source/vcl/canvas.hxx index 62f71b216848..be7d7858e3ad 100644 --- a/canvas/source/vcl/canvas.hxx +++ b/canvas/source/vcl/canvas.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_CANVAS_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_CANVAS_HXX +#pragma once #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/beans/XPropertySet.hpp> @@ -110,6 +109,4 @@ namespace vclcanvas }; } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/canvasbitmap.hxx b/canvas/source/vcl/canvasbitmap.hxx index ee8ae6b45f41..7eea1ac31383 100644 --- a/canvas/source/vcl/canvasbitmap.hxx +++ b/canvas/source/vcl/canvasbitmap.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_CANVASBITMAP_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_CANVASBITMAP_HXX +#pragma once #include <cppuhelper/compbase.hxx> @@ -115,6 +114,4 @@ namespace vclcanvas }; } -#endif // INCLUDED_CANVAS_SOURCE_VCL_CANVASBITMAP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/canvasbitmaphelper.hxx b/canvas/source/vcl/canvasbitmaphelper.hxx index 328f96ca96fa..7e75f92e82d6 100644 --- a/canvas/source/vcl/canvasbitmaphelper.hxx +++ b/canvas/source/vcl/canvasbitmaphelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_CANVASBITMAPHELPER_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_CANVASBITMAPHELPER_HXX +#pragma once #include "canvashelper.hxx" @@ -104,6 +103,4 @@ namespace vclcanvas }; } -#endif // INCLUDED_CANVAS_SOURCE_VCL_CANVASBITMAPHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/canvascustomsprite.hxx b/canvas/source/vcl/canvascustomsprite.hxx index 675699a333e2..1a7d3ccfb69e 100644 --- a/canvas/source/vcl/canvascustomsprite.hxx +++ b/canvas/source/vcl/canvascustomsprite.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_CANVASCUSTOMSPRITE_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_CANVASCUSTOMSPRITE_HXX +#pragma once #include <cppuhelper/compbase.hxx> #include <comphelper/uno3.hxx> @@ -114,6 +113,4 @@ namespace vclcanvas }; } -#endif // INCLUDED_CANVAS_SOURCE_VCL_CANVASCUSTOMSPRITE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/canvasfont.hxx b/canvas/source/vcl/canvasfont.hxx index f9cd2d6d29f3..fdfa870f5ed3 100644 --- a/canvas/source/vcl/canvasfont.hxx +++ b/canvas/source/vcl/canvasfont.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_CANVASFONT_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_CANVASFONT_HXX +#pragma once #include <cppuhelper/compbase.hxx> #include <cppuhelper/basemutex.hxx> @@ -85,6 +84,4 @@ namespace vclcanvas } -#endif // INCLUDED_CANVAS_SOURCE_VCL_CANVASFONT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/canvashelper.hxx b/canvas/source/vcl/canvashelper.hxx index c09d8c81d636..48a6a2742431 100644 --- a/canvas/source/vcl/canvashelper.hxx +++ b/canvas/source/vcl/canvashelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_CANVASHELPER_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_CANVASHELPER_HXX +#pragma once #include <com/sun/star/geometry/IntegerPoint2D.hpp> #include <com/sun/star/geometry/IntegerRectangle2D.hpp> @@ -307,6 +306,4 @@ namespace vclcanvas }; } -#endif // INCLUDED_CANVAS_SOURCE_VCL_CANVASHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/devicehelper.hxx b/canvas/source/vcl/devicehelper.hxx index bcb08119752f..f8ff12aedc45 100644 --- a/canvas/source/vcl/devicehelper.hxx +++ b/canvas/source/vcl/devicehelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_DEVICEHELPER_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_DEVICEHELPER_HXX +#pragma once #include <com/sun/star/rendering/XGraphicDevice.hpp> @@ -84,6 +83,4 @@ namespace vclcanvas }; } -#endif // INCLUDED_CANVAS_SOURCE_VCL_DEVICEHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/impltools.hxx b/canvas/source/vcl/impltools.hxx index f20b052d5534..028ea1174f3c 100644 --- a/canvas/source/vcl/impltools.hxx +++ b/canvas/source/vcl/impltools.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_IMPLTOOLS_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_IMPLTOOLS_HXX +#pragma once #include <osl/mutex.hxx> @@ -175,6 +174,4 @@ namespace vclcanvas } } -#endif // INCLUDED_CANVAS_SOURCE_VCL_IMPLTOOLS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/outdevprovider.hxx b/canvas/source/vcl/outdevprovider.hxx index 10cab044f53e..668212b9db4a 100644 --- a/canvas/source/vcl/outdevprovider.hxx +++ b/canvas/source/vcl/outdevprovider.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_OUTDEVPROVIDER_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_OUTDEVPROVIDER_HXX +#pragma once #include <memory> @@ -48,6 +47,4 @@ namespace vclcanvas typedef std::shared_ptr< OutDevProvider > OutDevProviderSharedPtr; } -#endif // INCLUDED_CANVAS_SOURCE_VCL_OUTDEVPROVIDER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/repainttarget.hxx b/canvas/source/vcl/repainttarget.hxx index b5ee27542f8a..b7b4058e9e9d 100644 --- a/canvas/source/vcl/repainttarget.hxx +++ b/canvas/source/vcl/repainttarget.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_REPAINTTARGET_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_REPAINTTARGET_HXX +#pragma once #include "cachedbitmap.hxx" @@ -50,6 +49,4 @@ namespace vclcanvas }; } -#endif // INCLUDED_CANVAS_SOURCE_VCL_REPAINTTARGET_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/sprite.hxx b/canvas/source/vcl/sprite.hxx index 3d29041d9916..30ab15aaf0a1 100644 --- a/canvas/source/vcl/sprite.hxx +++ b/canvas/source/vcl/sprite.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_SPRITE_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_SPRITE_HXX +#pragma once #include <base/sprite.hxx> @@ -63,6 +62,4 @@ namespace vclcanvas }; } -#endif // INCLUDED_CANVAS_SOURCE_VCL_SPRITE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/spritecanvas.hxx b/canvas/source/vcl/spritecanvas.hxx index 05897741d9ab..8f7c76880f51 100644 --- a/canvas/source/vcl/spritecanvas.hxx +++ b/canvas/source/vcl/spritecanvas.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_SPRITECANVAS_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_SPRITECANVAS_HXX +#pragma once #include <rtl/ref.hxx> @@ -161,6 +160,4 @@ namespace vclcanvas } -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/spritecanvashelper.hxx b/canvas/source/vcl/spritecanvashelper.hxx index b7553e367c5d..af3f5526a8da 100644 --- a/canvas/source/vcl/spritecanvashelper.hxx +++ b/canvas/source/vcl/spritecanvashelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_SPRITECANVASHELPER_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_SPRITECANVASHELPER_HXX +#pragma once #include <com/sun/star/rendering/XAnimatedSprite.hpp> #include <com/sun/star/rendering/XAnimation.hpp> @@ -167,6 +166,4 @@ namespace vclcanvas }; } -#endif // INCLUDED_CANVAS_SOURCE_VCL_SPRITECANVASHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/spritedevicehelper.hxx b/canvas/source/vcl/spritedevicehelper.hxx index 8db1b115eed3..5f4ef570a699 100644 --- a/canvas/source/vcl/spritedevicehelper.hxx +++ b/canvas/source/vcl/spritedevicehelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_SPRITEDEVICEHELPER_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_SPRITEDEVICEHELPER_HXX +#pragma once #include <com/sun/star/awt/Rectangle.hpp> @@ -58,6 +57,4 @@ namespace vclcanvas }; } -#endif // INCLUDED_CANVAS_SOURCE_VCL_SPRITEDEVICEHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/spritehelper.hxx b/canvas/source/vcl/spritehelper.hxx index 1599fe40717e..41d9883f6ffe 100644 --- a/canvas/source/vcl/spritehelper.hxx +++ b/canvas/source/vcl/spritehelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_SPRITEHELPER_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_SPRITEHELPER_HXX +#pragma once #include <vcl/bitmapex.hxx> @@ -106,6 +105,4 @@ namespace vclcanvas }; } -#endif // INCLUDED_CANVAS_SOURCE_VCL_SPRITEHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/textlayout.hxx b/canvas/source/vcl/textlayout.hxx index f7378f6116cd..b3c9acdb7de6 100644 --- a/canvas/source/vcl/textlayout.hxx +++ b/canvas/source/vcl/textlayout.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_TEXTLAYOUT_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_TEXTLAYOUT_HXX +#pragma once #include <cppuhelper/compbase.hxx> #include <cppuhelper/basemutex.hxx> @@ -101,6 +100,4 @@ namespace vclcanvas } -#endif // INCLUDED_CANVAS_SOURCE_VCL_TEXTLAYOUT_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/canvas/source/vcl/windowoutdevholder.hxx b/canvas/source/vcl/windowoutdevholder.hxx index 83f5e65e6a5c..d9d69e9a37c9 100644 --- a/canvas/source/vcl/windowoutdevholder.hxx +++ b/canvas/source/vcl/windowoutdevholder.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CANVAS_SOURCE_VCL_WINDOWOUTDEVHOLDER_HXX -#define INCLUDED_CANVAS_SOURCE_VCL_WINDOWOUTDEVHOLDER_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/awt/XWindow.hpp> @@ -54,6 +53,4 @@ namespace vclcanvas }; } -#endif // INCLUDED_CANVAS_SOURCE_VCL_WINDOWOUTDEVHOLDER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |