cppcanvas/source/inc/action.hxx | 5 +---- cppcanvas/source/inc/canvasgraphichelper.hxx | 5 +---- cppcanvas/source/inc/implrenderer.hxx | 5 +---- cppcanvas/source/inc/outdevstate.hxx | 5 +---- cppcanvas/source/inc/tools.hxx | 5 +---- 5 files changed, 5 insertions(+), 20 deletions(-)
New commits: commit 583c1c34ae9c974f68d21ee6b74baf87ab08c6cf Author: Yusuf Keten <ketenyu...@gmail.com> AuthorDate: Wed Dec 18 22:13:49 2019 +0300 Commit: Muhammet Kara <muhammet.k...@collabora.com> CommitDate: Thu Dec 19 04:40:17 2019 +0100 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.k...@collabora.com> 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: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits