summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Bateman <george.bateman16@gmail.com>2020-08-04 12:41:36 +0000
committerJulien Nabet <serval2412@yahoo.fr>2020-09-04 09:01:53 +0200
commit4d433b21ec6fdd80e09dc042a8e204e72b1e62c8 (patch)
treeaac6271d2bd1994c2fa8909be969fc48740d249c
parent6efb746a8cf876ef00d97aa8bd8f2f4ef9cabcfd (diff)
tdf#124176 Replace 3 include guards with #pragma once
These are the include guards mentioned in tdf#124176 as not being compatible with an automated fix. Change-Id: Ia74453b7b96405ad36440dcd8e24759352bd15da Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100092 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--chart2/source/inc/InternalData.hxx5
-rw-r--r--include/svx/svdmodel.hxx6
-rw-r--r--include/vcl/glxtestprocess.hxx4
3 files changed, 3 insertions, 12 deletions
diff --git a/chart2/source/inc/InternalData.hxx b/chart2/source/inc/InternalData.hxx
index 25ed60606d74..c7407d17fb11 100644
--- a/chart2/source/inc/InternalData.hxx
+++ b/chart2/source/inc/InternalData.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_INC_INTERNALDATA_HXX
-#define INCLUDED_CHART2_SOURCE_INC_INTERNALDATA_HXX
+#pragma once
#include <com/sun/star/uno/Sequence.hxx>
@@ -92,8 +91,6 @@ private:
tVecVecAny m_aColumnLabels;//outer index is column index
};
-#endif
-
} // namespace chart
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index a02cf8f5d80b..c35b259a51dc 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_SVX_SVDMODEL_HXX
-#define INCLUDED_SVX_SVDMODEL_HXX
+#pragma once
#include <functional>
#include <memory>
@@ -607,9 +606,6 @@ public:
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const;
};
-
-#endif // INCLUDED_SVX_SVDMODEL_HXX
-
/*
+-----------+
| SdrModel |
diff --git a/include/vcl/glxtestprocess.hxx b/include/vcl/glxtestprocess.hxx
index 848135442867..c64d9f620b55 100644
--- a/include/vcl/glxtestprocess.hxx
+++ b/include/vcl/glxtestprocess.hxx
@@ -7,7 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_INCLUDE_VCL_GLXTESTPROCESS_HXX
+#pragma once
#include <sal/config.h>
#include <config_features.h>
@@ -33,6 +33,4 @@ inline void reap_glxtest_process() {}
#endif
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */