summaryrefslogtreecommitdiff
path: root/chart2/source/tools
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/source/tools
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/source/tools')
-rw-r--r--chart2/source/tools/ImplOPropertySet.hxx6
-rw-r--r--chart2/source/tools/RegressionCurveModel.hxx6
-rw-r--r--chart2/source/tools/RegressionEquation.hxx6
3 files changed, 3 insertions, 15 deletions
diff --git a/chart2/source/tools/ImplOPropertySet.hxx b/chart2/source/tools/ImplOPropertySet.hxx
index d2aef768a480..5a6bc54aa429 100644
--- a/chart2/source/tools/ImplOPropertySet.hxx
+++ b/chart2/source/tools/ImplOPropertySet.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_SOURCE_TOOLS_IMPLOPROPERTYSET_HXX
-#define INCLUDED_CHART2_SOURCE_TOOLS_IMPLOPROPERTYSET_HXX
+#pragma once
#include <com/sun/star/beans/PropertyState.hpp>
#include <com/sun/star/uno/Reference.h>
@@ -80,7 +79,4 @@ private:
} // namespace chart::impl
-// INCLUDED_CHART2_SOURCE_TOOLS_IMPLOPROPERTYSET_HXX
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/RegressionCurveModel.hxx b/chart2/source/tools/RegressionCurveModel.hxx
index 05257e2dc950..c20e773601a4 100644
--- a/chart2/source/tools/RegressionCurveModel.hxx
+++ b/chart2/source/tools/RegressionCurveModel.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_SOURCE_TOOLS_REGRESSIONCURVEMODEL_HXX
-#define INCLUDED_CHART2_SOURCE_TOOLS_REGRESSIONCURVEMODEL_HXX
+#pragma once
#include <MutexContainer.hxx>
#include <OPropertySet.hxx>
@@ -239,7 +238,4 @@ public:
} // namespace chart
-// INCLUDED_CHART2_SOURCE_TOOLS_REGRESSIONCURVEMODEL_HXX
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/chart2/source/tools/RegressionEquation.hxx b/chart2/source/tools/RegressionEquation.hxx
index 605dd115ade6..03d1a7f295e5 100644
--- a/chart2/source/tools/RegressionEquation.hxx
+++ b/chart2/source/tools/RegressionEquation.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_SOURCE_TOOLS_REGRESSIONEQUATION_HXX
-#define INCLUDED_CHART2_SOURCE_TOOLS_REGRESSIONEQUATION_HXX
+#pragma once
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/util/XCloneable.hpp>
@@ -117,7 +116,4 @@ private:
} // namespace chart
-// INCLUDED_CHART2_SOURCE_TOOLS_REGRESSIONEQUATION_HXX
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */