summaryrefslogtreecommitdiff
path: root/cppuhelper/source
diff options
context:
space:
mode:
authorGeorge Bateman <george.bateman16@gmail.com>2020-09-13 11:57:19 +0000
committerJulien Nabet <serval2412@yahoo.fr>2020-09-13 15:28:21 +0200
commit08cc983e26dd3252b12b253af9b0c3430e933321 (patch)
treed0055e3aebfcce1f3c66b8cd7f65784d6dea956b /cppuhelper/source
parent4a14136308c70d820a2e8f9ac240b93ca95569b5 (diff)
tdf#124176 Use #pragma once in cppu, cppuhelper
This commit was carried out by a Python script, source of which is at https://bugs.documentfoundation.org/show_bug.cgi?id=124176#c97. Change-Id: I0b7c5bec8e56bd21e719c8889fe263e377f3b8ca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102547 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'cppuhelper/source')
-rw-r--r--cppuhelper/source/loadsharedlibcomponentfactory.hxx5
-rw-r--r--cppuhelper/source/macro_expander.hxx5
-rw-r--r--cppuhelper/source/paths.hxx5
-rw-r--r--cppuhelper/source/servicemanager.hxx5
-rw-r--r--cppuhelper/source/typemanager.hxx5
5 files changed, 5 insertions, 20 deletions
diff --git a/cppuhelper/source/loadsharedlibcomponentfactory.hxx b/cppuhelper/source/loadsharedlibcomponentfactory.hxx
index 033fc8f3263b..3678c32e76fb 100644
--- a/cppuhelper/source/loadsharedlibcomponentfactory.hxx
+++ b/cppuhelper/source/loadsharedlibcomponentfactory.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_CPPUHELPER_SOURCE_LOADSHAREDLIBCOMPONENTFACTORY_HXX
-#define INCLUDED_CPPUHELPER_SOURCE_LOADSHAREDLIBCOMPONENTFACTORY_HXX
+#pragma once
#include <sal/config.h>
@@ -39,6 +38,4 @@ void loadSharedLibComponentFactory(
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppuhelper/source/macro_expander.hxx b/cppuhelper/source/macro_expander.hxx
index 4a2740beb965..11736656c0f6 100644
--- a/cppuhelper/source/macro_expander.hxx
+++ b/cppuhelper/source/macro_expander.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CPPUHELPER_SOURCE_MACRO_EXPANDER_HXX
-#define INCLUDED_CPPUHELPER_SOURCE_MACRO_EXPANDER_HXX
+#pragma once
#include <sal/config.h>
@@ -54,6 +53,4 @@ create_bootstrap_macro_expander_factory();
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppuhelper/source/paths.hxx b/cppuhelper/source/paths.hxx
index baad8c68c4ac..9ce486fa772a 100644
--- a/cppuhelper/source/paths.hxx
+++ b/cppuhelper/source/paths.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CPPUHELPER_SOURCE_PATHS_HXX
-#define INCLUDED_CPPUHELPER_SOURCE_PATHS_HXX
+#pragma once
#include <sal/config.h>
#include <rtl/ustring.hxx>
@@ -35,6 +34,4 @@ void decodeRdbUri(OUString * uri, bool * optional, bool * directory);
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppuhelper/source/servicemanager.hxx b/cppuhelper/source/servicemanager.hxx
index ceac7c15a698..9a7cac513402 100644
--- a/cppuhelper/source/servicemanager.hxx
+++ b/cppuhelper/source/servicemanager.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_CPPUHELPER_SOURCE_SERVICEMANAGER_HXX
-#define INCLUDED_CPPUHELPER_SOURCE_SERVICEMANAGER_HXX
+#pragma once
#include <sal/config.h>
@@ -346,6 +345,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppuhelper/source/typemanager.hxx b/cppuhelper/source/typemanager.hxx
index bc086693a631..a1d6ce8cd78a 100644
--- a/cppuhelper/source/typemanager.hxx
+++ b/cppuhelper/source/typemanager.hxx
@@ -7,8 +7,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
-#ifndef INCLUDED_CPPUHELPER_SOURCE_TYPEMANAGER_HXX
-#define INCLUDED_CPPUHELPER_SOURCE_TYPEMANAGER_HXX
+#pragma once
#include <sal/config.h>
@@ -123,6 +122,4 @@ private:
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */