diff options
author | Yusuf Keten <ketenyusuf@gmail.com> | 2019-12-18 22:13:49 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2019-12-19 04:40:17 +0100 |
commit | 583c1c34ae9c974f68d21ee6b74baf87ab08c6cf (patch) | |
tree | 8070fbbc39b8fb26b80182bfb3634fd68cf51245 | |
parent | 7fb88645d20c1b1ec4aca41d0d96c457333282a7 (diff) |
tdf#124176: Use pragma once instead of include guards
Change-Id: Id65f17c9785e9db3eecfb1fba6902a04906077e5
Reviewed-on: https://gerrit.libreoffice.org/85428
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
-rw-r--r-- | cppcanvas/source/inc/action.hxx | 5 | ||||
-rw-r--r-- | cppcanvas/source/inc/canvasgraphichelper.hxx | 5 | ||||
-rw-r--r-- | cppcanvas/source/inc/implrenderer.hxx | 5 | ||||
-rw-r--r-- | cppcanvas/source/inc/outdevstate.hxx | 5 | ||||
-rw-r--r-- | cppcanvas/source/inc/tools.hxx | 5 |
5 files changed, 5 insertions, 20 deletions
diff --git a/cppcanvas/source/inc/action.hxx b/cppcanvas/source/inc/action.hxx index 67e67c5aa4dd..bf122292a2fd 100644 --- a/cppcanvas/source/inc/action.hxx +++ b/cppcanvas/source/inc/action.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CPPCANVAS_SOURCE_INC_ACTION_HXX -#define INCLUDED_CPPCANVAS_SOURCE_INC_ACTION_HXX +#pragma once #include <sal/types.h> @@ -146,6 +145,4 @@ namespace cppcanvas } } -#endif // INCLUDED_CPPCANVAS_SOURCE_INC_ACTION_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cppcanvas/source/inc/canvasgraphichelper.hxx b/cppcanvas/source/inc/canvasgraphichelper.hxx index 48e0b9c35cd2..c1c23657a3f4 100644 --- a/cppcanvas/source/inc/canvasgraphichelper.hxx +++ b/cppcanvas/source/inc/canvasgraphichelper.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CPPCANVAS_SOURCE_INC_CANVASGRAPHICHELPER_HXX -#define INCLUDED_CPPCANVAS_SOURCE_INC_CANVASGRAPHICHELPER_HXX +#pragma once #include <com/sun/star/rendering/RenderState.hpp> #include <basegfx/polygon/b2dpolypolygon.hxx> @@ -69,6 +68,4 @@ namespace cppcanvas } } -#endif // INCLUDED_CPPCANVAS_SOURCE_INC_CANVASGRAPHICHELPER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cppcanvas/source/inc/implrenderer.hxx b/cppcanvas/source/inc/implrenderer.hxx index c1224a40c212..6c260c3f3ecd 100644 --- a/cppcanvas/source/inc/implrenderer.hxx +++ b/cppcanvas/source/inc/implrenderer.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CPPCANVAS_SOURCE_INC_IMPLRENDERER_HXX -#define INCLUDED_CPPCANVAS_SOURCE_INC_IMPLRENDERER_HXX +#pragma once #include <sal/config.h> @@ -245,6 +244,4 @@ namespace cppcanvas } } -#endif // INCLUDED_CPPCANVAS_SOURCE_INC_IMPLRENDERER_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cppcanvas/source/inc/outdevstate.hxx b/cppcanvas/source/inc/outdevstate.hxx index 5c1a4c0d9166..590a7b2ec674 100644 --- a/cppcanvas/source/inc/outdevstate.hxx +++ b/cppcanvas/source/inc/outdevstate.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CPPCANVAS_SOURCE_INC_OUTDEVSTATE_HXX -#define INCLUDED_CPPCANVAS_SOURCE_INC_OUTDEVSTATE_HXX +#pragma once #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -124,6 +123,4 @@ namespace cppcanvas } } -#endif // INCLUDED_CPPCANVAS_SOURCE_INC_OUTDEVSTATE_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cppcanvas/source/inc/tools.hxx b/cppcanvas/source/inc/tools.hxx index 80a238881790..fab00805a93e 100644 --- a/cppcanvas/source/inc/tools.hxx +++ b/cppcanvas/source/inc/tools.hxx @@ -17,8 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef INCLUDED_CPPCANVAS_SOURCE_INC_TOOLS_HXX -#define INCLUDED_CPPCANVAS_SOURCE_INC_TOOLS_HXX +#pragma once #include <com/sun/star/uno/Sequence.hxx> #include <cppcanvas/color.hxx> @@ -33,6 +32,4 @@ namespace cppcanvas } } -#endif // INCLUDED_CPPCANVAS_SOURCE_INC_TOOLS_HXX - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |