summaryrefslogtreecommitdiff
path: root/chart2/inc
diff options
context:
space:
mode:
authorGökay ŞATIR <gokaysatir@gmail.com>2019-12-24 15:30:17 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2019-12-27 13:34:09 +0100
commitc309d478b8304d8779bb2a49e96ac12527762e38 (patch)
tree8bf650225e6c29d6c33a8cee4f534de6f7c6c3d6 /chart2/inc
parent9c64e8a2948c379c537ee0882afa57882facb26e (diff)
tdf#124176: Use pragma once instead of include guards
Change-Id: I018548a2875936f463ae41784ef5d16cb54127bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85781 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'chart2/inc')
-rw-r--r--chart2/inc/ChartModel.hxx5
-rw-r--r--chart2/inc/ChartView.hxx5
-rw-r--r--chart2/inc/SpecialCharacters.hxx5
-rw-r--r--chart2/inc/unonames.hxx5
4 files changed, 4 insertions, 16 deletions
diff --git a/chart2/inc/ChartModel.hxx b/chart2/inc/ChartModel.hxx
index ee6852ae4338..969e29435862 100644
--- a/chart2/inc/ChartModel.hxx
+++ b/chart2/inc/ChartModel.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CHART2_INC_CHARTMODEL_HXX
-#define INCLUDED_CHART2_INC_CHARTMODEL_HXX
+#pragma once
#include <LifeTime.hxx>
@@ -473,6 +472,4 @@ private:
} // namespace chart
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/inc/ChartView.hxx b/chart2/inc/ChartView.hxx
index 5ae3930ebd01..7993743919fd 100644
--- a/chart2/inc/ChartView.hxx
+++ b/chart2/inc/ChartView.hxx
@@ -16,8 +16,7 @@
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CHART2_INC_CHARTVIEW_HXX
-#define INCLUDED_CHART2_INC_CHARTVIEW_HXX
+#pragma once
#include <chartview/ExplicitValueProvider.hxx>
#include <cppuhelper/implbase.hxx>
@@ -253,6 +252,4 @@ private: //member
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/inc/SpecialCharacters.hxx b/chart2/inc/SpecialCharacters.hxx
index 60d9a1953941..b02ab1049ca6 100644
--- a/chart2/inc/SpecialCharacters.hxx
+++ b/chart2/inc/SpecialCharacters.hxx
@@ -7,14 +7,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_CHART2_INC_SPECIALCHARACTERS_HXX
-#define INCLUDED_CHART2_INC_SPECIALCHARACTERS_HXX
+#pragma once
#include <sal/types.h>
const sal_Unicode aMinusSign = 0x2212;
const sal_Unicode aSuperscriptFigures[10]={ 0x2070, 0x00B9, 0x00B2, 0x00B3, 0x2074, 0x2075, 0x2076, 0x2077, 0x2078, 0x2079 };
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/inc/unonames.hxx b/chart2/inc/unonames.hxx
index ba8011431809..8f4c855d3766 100644
--- a/chart2/inc/unonames.hxx
+++ b/chart2/inc/unonames.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_CHART2_INC_UNONAMES_HXX
-#define INCLUDED_CHART2_INC_UNONAMES_HXX
+#pragma once
#define CHART_UNONAME_SORT_BY_XVALUES "SortByXValues"
#define CHART_UNONAME_SPLINE_TYPE "SplineType"
@@ -30,6 +29,4 @@
#define CHART_UNONAME_LABEL_BORDER_TRANS "LabelBorderTransparency"
#define CHART_UNONAME_CUSTOM_LABEL_FIELDS "CustomLabelFields"
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */