diff options
author | George Bateman <george.bateman16@gmail.com> | 2020-08-06 14:38:33 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2020-09-04 08:52:52 +0200 |
commit | 24491636d36a1d92a4bb9f3f1f1b2e65b81d8429 (patch) | |
tree | 2f2dc9c55aa021f7ab41c329e6eecb109a75b764 /cppcanvas | |
parent | 269497fff04bb5bbe982a7bcd48ea06d1507fc6b (diff) |
tdf#124176 Use #pragma once in cppcanvas
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: I984bb1056da13d163f7fe654d780502a6d34231f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100253
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/wrapper/implbitmap.hxx | 5 | ||||
-rw-r--r-- | cppcanvas/source/wrapper/implbitmapcanvas.hxx | 5 | ||||
-rw-r--r-- | cppcanvas/source/wrapper/implcanvas.hxx | 5 | ||||
-rw-r--r-- | cppcanvas/source/wrapper/implcustomsprite.hxx | 5 | ||||
-rw-r--r-- | cppcanvas/source/wrapper/implpolypolygon.hxx | 5 | ||||
-rw-r--r-- | cppcanvas/source/wrapper/implsprite.hxx | 5 | ||||
-rw-r--r-- | cppcanvas/source/wrapper/implspritecanvas.hxx | 5 |
7 files changed, 7 insertions, 28 deletions
diff --git a/cppcanvas/source/wrapper/implbitmap.hxx b/cppcanvas/source/wrapper/implbitmap.hxx index 93ec7daf4727..1b6066949737 100644 --- a/cppcanvas/source/wrapper/implbitmap.hxx +++ b/cppcanvas/source/wrapper/implbitmap.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLBITMAP_HXX -#define INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLBITMAP_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/rendering/XBitmap.hpp> @@ -60,6 +59,4 @@ namespace cppcanvas::internal } -#endif // INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLBITMAP_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cppcanvas/source/wrapper/implbitmapcanvas.hxx b/cppcanvas/source/wrapper/implbitmapcanvas.hxx index 17912a04efe9..62db8cc604da 100644 --- a/cppcanvas/source/wrapper/implbitmapcanvas.hxx +++ b/cppcanvas/source/wrapper/implbitmapcanvas.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLBITMAPCANVAS_HXX -#define INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLBITMAPCANVAS_HXX +#pragma once #include <com/sun/star/rendering/XBitmapCanvas.hpp> #include <com/sun/star/rendering/XBitmap.hpp> @@ -51,6 +50,4 @@ namespace cppcanvas::internal }; } -#endif // INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLBITMAPCANVAS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cppcanvas/source/wrapper/implcanvas.hxx b/cppcanvas/source/wrapper/implcanvas.hxx index 35fded39a1d6..d49116c92860 100644 --- a/cppcanvas/source/wrapper/implcanvas.hxx +++ b/cppcanvas/source/wrapper/implcanvas.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLCANVAS_HXX -#define INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLCANVAS_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/rendering/ViewState.hpp> @@ -80,6 +79,4 @@ namespace cppcanvas::internal } -#endif // INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLCANVAS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cppcanvas/source/wrapper/implcustomsprite.hxx b/cppcanvas/source/wrapper/implcustomsprite.hxx index 87ae338568c2..7c698ac5b72c 100644 --- a/cppcanvas/source/wrapper/implcustomsprite.hxx +++ b/cppcanvas/source/wrapper/implcustomsprite.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLCUSTOMSPRITE_HXX -#define INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLCUSTOMSPRITE_HXX +#pragma once #include <cppcanvas/canvas.hxx> #include <cppcanvas/customsprite.hxx> @@ -49,6 +48,4 @@ namespace cppcanvas::internal }; } -#endif // INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLCUSTOMSPRITE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cppcanvas/source/wrapper/implpolypolygon.hxx b/cppcanvas/source/wrapper/implpolypolygon.hxx index 7cf20feefd4c..341531fba74f 100644 --- a/cppcanvas/source/wrapper/implpolypolygon.hxx +++ b/cppcanvas/source/wrapper/implpolypolygon.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLPOLYPOLYGON_HXX -#define INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLPOLYPOLYGON_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/rendering/XPolyPolygon2D.hpp> @@ -73,6 +72,4 @@ namespace cppcanvas::internal } -#endif // INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLPOLYPOLYGON_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cppcanvas/source/wrapper/implsprite.hxx b/cppcanvas/source/wrapper/implsprite.hxx index ebc3d0b46859..220dfb9489fc 100644 --- a/cppcanvas/source/wrapper/implsprite.hxx +++ b/cppcanvas/source/wrapper/implsprite.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLSPRITE_HXX -#define INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLSPRITE_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/rendering/XSpriteCanvas.hpp> @@ -61,6 +60,4 @@ namespace cppcanvas::internal }; } -#endif // INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLSPRITE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cppcanvas/source/wrapper/implspritecanvas.hxx b/cppcanvas/source/wrapper/implspritecanvas.hxx index 8e94bcb88c64..efad546624e4 100644 --- a/cppcanvas/source/wrapper/implspritecanvas.hxx +++ b/cppcanvas/source/wrapper/implspritecanvas.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLSPRITECANVAS_HXX -#define INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLSPRITECANVAS_HXX +#pragma once #include <com/sun/star/rendering/XSpriteCanvas.hpp> #include <basegfx/vector/b2dsize.hxx> @@ -78,6 +77,4 @@ namespace cppcanvas::internal }; } -#endif // INCLUDED_CPPCANVAS_SOURCE_WRAPPER_IMPLSPRITECANVAS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |