summaryrefslogtreecommitdiff
path: root/chart2/inc
diff options
context:
space:
mode:
authorGeorge Bateman <george.bateman16@gmail.com>2020-08-05 15:36:19 +0000
committerJulien Nabet <serval2412@yahoo.fr>2020-09-04 09:03:54 +0200
commit1d203d95479d16049c2edb6fa6fc927c1d97067f (patch)
treedeb6b511696fe49f6415c9d904eed486260c0074 /chart2/inc
parent4d433b21ec6fdd80e09dc042a8e204e72b1e62c8 (diff)
tdf#124176 Use #pragma once in chart2
This commit was carried out mostly by a Python script, source of which is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97. Change-Id: Ifee23b494264f895e5612952d0875cac064e4132 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100181 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'chart2/inc')
-rw-r--r--chart2/inc/bitmaps.hlst5
-rw-r--r--chart2/inc/chart.hrc5
2 files changed, 2 insertions, 8 deletions
diff --git a/chart2/inc/bitmaps.hlst b/chart2/inc/bitmaps.hlst
index 3274c7fa7c9e..35ef79e510d3 100644
--- a/chart2/inc/bitmaps.hlst
+++ b/chart2/inc/bitmaps.hlst
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_CHART2_INC_BITMAPS_HRC
-#define INCLUDED_CHART2_INC_BITMAPS_HRC
+#pragma once
#define BMP_TYPE_COLUMN "chart2/res/typecolumn_16.png"
#define BMP_TYPE_BAR "chart2/res/typebar_16.png"
@@ -133,6 +132,4 @@
#define RID_SVXBMP_LAMP_ON "svx/res/lighton.png"
#define RID_SVXBMP_LAMP_OFF "svx/res/light.png"
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
diff --git a/chart2/inc/chart.hrc b/chart2/inc/chart.hrc
index 8a1195635930..4620a78be366 100644
--- a/chart2/inc/chart.hrc
+++ b/chart2/inc/chart.hrc
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_CHART_INC_CHART_HRC
-#define INCLUDED_CHART_INC_CHART_HRC
+#pragma once
#define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" u8##String)
@@ -20,6 +19,4 @@ const char* CHART_TYPE[] =
NC_("tp_ChartType|liststore1", "Pyramid")
};
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */