summaryrefslogtreecommitdiff
path: root/cppcanvas/source/mtfrenderer
diff options
context:
space:
mode:
authorcagatay <cagatayyigit3@gmail.com>2019-12-28 20:05:50 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-12-29 18:41:24 +0100
commitf1656f7db9c0e00b1c9907d382a3e5e4cbdc5edd (patch)
tree2f945c74b2c4ad65324fb1e4019daef0be367970 /cppcanvas/source/mtfrenderer
parentcdf28dae8659b9ae5938d4710db49b8d81439c6f (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: If73053c1fa0f65ff7296bf8f5a34d6ead64167ab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85928 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'cppcanvas/source/mtfrenderer')
-rw-r--r--cppcanvas/source/mtfrenderer/bitmapaction.hxx5
-rw-r--r--cppcanvas/source/mtfrenderer/cachedprimitivebase.hxx5
-rw-r--r--cppcanvas/source/mtfrenderer/lineaction.hxx5
-rw-r--r--cppcanvas/source/mtfrenderer/mtftools.hxx5
-rw-r--r--cppcanvas/source/mtfrenderer/pointaction.hxx5
-rw-r--r--cppcanvas/source/mtfrenderer/polypolyaction.hxx5
-rw-r--r--cppcanvas/source/mtfrenderer/textaction.hxx5
-rw-r--r--cppcanvas/source/mtfrenderer/textlineshelper.hxx6
-rw-r--r--cppcanvas/source/mtfrenderer/transparencygroupaction.hxx5
9 files changed, 11 insertions, 35 deletions
diff --git a/cppcanvas/source/mtfrenderer/bitmapaction.hxx b/cppcanvas/source/mtfrenderer/bitmapaction.hxx
index 84b2cd3f4391..a0dcdbec3fc3 100644
--- a/cppcanvas/source/mtfrenderer/bitmapaction.hxx
+++ b/cppcanvas/source/mtfrenderer/bitmapaction.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_BITMAPACTION_HXX
-#define INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_BITMAPACTION_HXX
+#pragma once
#include <cppcanvas/canvas.hxx>
#include <action.hxx>
@@ -62,6 +61,4 @@ namespace cppcanvas
}
}
-#endif // INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_BITMAPACTION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/mtfrenderer/cachedprimitivebase.hxx b/cppcanvas/source/mtfrenderer/cachedprimitivebase.hxx
index 072848202242..3f0c5302d178 100644
--- a/cppcanvas/source/mtfrenderer/cachedprimitivebase.hxx
+++ b/cppcanvas/source/mtfrenderer/cachedprimitivebase.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_CACHEDPRIMITIVEBASE_HXX
-#define INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_CACHEDPRIMITIVEBASE_HXX
+#pragma once
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/rendering/XCachedPrimitive.hpp>
@@ -83,6 +82,4 @@ namespace cppcanvas
}
}
-#endif // INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_CACHEDPRIMITIVEBASE_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/mtfrenderer/lineaction.hxx b/cppcanvas/source/mtfrenderer/lineaction.hxx
index 9761e4272626..ec510bd2bd76 100644
--- a/cppcanvas/source/mtfrenderer/lineaction.hxx
+++ b/cppcanvas/source/mtfrenderer/lineaction.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_LINEACTION_HXX
-#define INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_LINEACTION_HXX
+#pragma once
#include <action.hxx>
#include <cppcanvas/canvas.hxx>
@@ -54,6 +53,4 @@ namespace cppcanvas
}
}
-#endif // INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_LINEACTION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/mtfrenderer/mtftools.hxx b/cppcanvas/source/mtfrenderer/mtftools.hxx
index 3d438e3e2934..93857a09c780 100644
--- a/cppcanvas/source/mtfrenderer/mtftools.hxx
+++ b/cppcanvas/source/mtfrenderer/mtftools.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_MTFTOOLS_HXX
-#define INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_MTFTOOLS_HXX
+#pragma once
#include <action.hxx>
#include <cppcanvas/canvas.hxx>
@@ -210,6 +209,4 @@ namespace cppcanvas
}
}
-#endif // INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_MTFTOOLS_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/mtfrenderer/pointaction.hxx b/cppcanvas/source/mtfrenderer/pointaction.hxx
index af969c474ba1..f6483cdee448 100644
--- a/cppcanvas/source/mtfrenderer/pointaction.hxx
+++ b/cppcanvas/source/mtfrenderer/pointaction.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_POINTACTION_HXX
-#define INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_POINTACTION_HXX
+#pragma once
#include <action.hxx>
#include <cppcanvas/canvas.hxx>
@@ -59,6 +58,4 @@ namespace cppcanvas
}
}
-#endif // INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_POINTACTION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/mtfrenderer/polypolyaction.hxx b/cppcanvas/source/mtfrenderer/polypolyaction.hxx
index 9ef7fb2bba38..97362ead0523 100644
--- a/cppcanvas/source/mtfrenderer/polypolyaction.hxx
+++ b/cppcanvas/source/mtfrenderer/polypolyaction.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_POLYPOLYACTION_HXX
-#define INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_POLYPOLYACTION_HXX
+#pragma once
#include <action.hxx>
#include <cppcanvas/canvas.hxx>
@@ -82,6 +81,4 @@ namespace cppcanvas
}
}
-#endif // INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_POLYPOLYACTION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/mtfrenderer/textaction.hxx b/cppcanvas/source/mtfrenderer/textaction.hxx
index e31cab63e78b..8bd8bb85afda 100644
--- a/cppcanvas/source/mtfrenderer/textaction.hxx
+++ b/cppcanvas/source/mtfrenderer/textaction.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_TEXTACTION_HXX
-#define INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_TEXTACTION_HXX
+#pragma once
#include <action.hxx>
#include <cppcanvas/canvas.hxx>
@@ -80,6 +79,4 @@ namespace cppcanvas
}
}
-#endif // INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_TEXTACTION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppcanvas/source/mtfrenderer/textlineshelper.hxx b/cppcanvas/source/mtfrenderer/textlineshelper.hxx
index be0cdfe9222c..aae63023298f 100644
--- a/cppcanvas/source/mtfrenderer/textlineshelper.hxx
+++ b/cppcanvas/source/mtfrenderer/textlineshelper.hxx
@@ -6,8 +6,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_TEXTLINESHELPER_HXX
-#define INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_TEXTLINESHELPER_HXX
+
+#pragma once
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Reference.hxx>
@@ -84,5 +84,5 @@ public:
};
}
}
-#endif // INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_TEXTLINESHELPER_HXX
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/cppcanvas/source/mtfrenderer/transparencygroupaction.hxx b/cppcanvas/source/mtfrenderer/transparencygroupaction.hxx
index 99e2ee8476d5..5b428e07b6ba 100644
--- a/cppcanvas/source/mtfrenderer/transparencygroupaction.hxx
+++ b/cppcanvas/source/mtfrenderer/transparencygroupaction.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_TRANSPARENCYGROUPACTION_HXX
-#define INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_TRANSPARENCYGROUPACTION_HXX
+#pragma once
#include <cppcanvas/canvas.hxx>
#include <action.hxx>
@@ -88,6 +87,4 @@ namespace cppcanvas
}
}
-#endif // INCLUDED_CPPCANVAS_SOURCE_MTFRENDERER_TRANSPARENCYGROUPACTION_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */