summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2020-05-09 21:32:03 +0200
committerTomaž Vajngerl <quikee@gmail.com>2020-05-10 12:26:01 +0200
commitba2cc9d5573216d4a128a4e60db7bdb1f06ce773 (patch)
tree193ea500371eb688a87e5df0a3c620e0967d7dd9 /include
parente622420c0aa8116294e85c076ff2d8fc6131595f (diff)
pragma once for the rest of primitive2d headers
Change-Id: I7c13aedfd41d12a3294aaf694a0c969630296e55 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93911 Tested-by: Tomaž Vajngerl <quikee@gmail.com> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/drawinglayer/primitive2d/baseprimitive2d.hxx5
-rw-r--r--include/drawinglayer/primitive2d/bitmapprimitive2d.hxx5
-rw-r--r--include/drawinglayer/primitive2d/glowprimitive2d.hxx5
3 files changed, 3 insertions, 12 deletions
diff --git a/include/drawinglayer/primitive2d/baseprimitive2d.hxx b/include/drawinglayer/primitive2d/baseprimitive2d.hxx
index 5e1a96429ff3..693dcc4b1e32 100644
--- a/include/drawinglayer/primitive2d/baseprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/baseprimitive2d.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DRAWINGLAYER_PRIMITIVE2D_BASEPRIMITIVE2D_HXX
-#define INCLUDED_DRAWINGLAYER_PRIMITIVE2D_BASEPRIMITIVE2D_HXX
+#pragma once
#include <drawinglayer/drawinglayerdllapi.h>
@@ -243,6 +242,4 @@ public:
} // end of namespace drawinglayer::primitive2d
-#endif //INCLUDED_DRAWINGLAYER_PRIMITIVE2D_BASEPRIMITIVE2D_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/drawinglayer/primitive2d/bitmapprimitive2d.hxx b/include/drawinglayer/primitive2d/bitmapprimitive2d.hxx
index 4d84a02f8e06..10de4ce16781 100644
--- a/include/drawinglayer/primitive2d/bitmapprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/bitmapprimitive2d.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DRAWINGLAYER_PRIMITIVE2D_BITMAPPRIMITIVE2D_HXX
-#define INCLUDED_DRAWINGLAYER_PRIMITIVE2D_BITMAPPRIMITIVE2D_HXX
+#pragma once
#include <drawinglayer/drawinglayerdllapi.h>
@@ -85,6 +84,4 @@ public:
} // end of namespace drawinglayer::primitive2d
-#endif // INCLUDED_DRAWINGLAYER_PRIMITIVE2D_BITMAPPRIMITIVE2D_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/drawinglayer/primitive2d/glowprimitive2d.hxx b/include/drawinglayer/primitive2d/glowprimitive2d.hxx
index 1aacdf0dde68..4de35bd40bfd 100644
--- a/include/drawinglayer/primitive2d/glowprimitive2d.hxx
+++ b/include/drawinglayer/primitive2d/glowprimitive2d.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_DRAWINGLAYER_PRIMITIVE2D_GLOWPRIMITIVE2D_HXX
-#define INCLUDED_DRAWINGLAYER_PRIMITIVE2D_GLOWPRIMITIVE2D_HXX
+#pragma once
#include <drawinglayer/drawinglayerdllapi.h>
@@ -66,6 +65,4 @@ public:
} // end of namespace primitive2d
} // end of namespace drawinglayer
-#endif //INCLUDED_DRAWINGLAYER_PRIMITIVE2D_GLOWPRIMITIVE2D_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */