summaryrefslogtreecommitdiffstats
path: root/cppu/source/uno
diff options
context:
space:
mode:
Diffstat (limited to 'cppu/source/uno')
-rw-r--r--cppu/source/uno/IdentityMapping.hxx5
-rw-r--r--cppu/source/uno/assign.hxx5
-rw-r--r--cppu/source/uno/cascade_mapping.hxx5
-rw-r--r--cppu/source/uno/constr.hxx5
-rw-r--r--cppu/source/uno/copy.hxx5
-rw-r--r--cppu/source/uno/destr.hxx5
-rw-r--r--cppu/source/uno/eq.hxx5
-rw-r--r--cppu/source/uno/loadmodule.hxx5
-rw-r--r--cppu/source/uno/prim.hxx5
9 files changed, 9 insertions, 36 deletions
diff --git a/cppu/source/uno/IdentityMapping.hxx b/cppu/source/uno/IdentityMapping.hxx
index fe2a644061bd..4a6db6d81bc1 100644
--- a/cppu/source/uno/IdentityMapping.hxx
+++ b/cppu/source/uno/IdentityMapping.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CPPU_SOURCE_UNO_IDENTITYMAPPING_HXX
-#define INCLUDED_CPPU_SOURCE_UNO_IDENTITYMAPPING_HXX
+#pragma once
#include <uno/mapping.h>
@@ -26,6 +25,4 @@ namespace com::sun::star::uno { class Environment; }
uno_Mapping * createIdentityMapping(const css::uno::Environment & rEnv);
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppu/source/uno/assign.hxx b/cppu/source/uno/assign.hxx
index 97ee9cd5b9db..4e3d70f311b2 100644
--- a/cppu/source/uno/assign.hxx
+++ b/cppu/source/uno/assign.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_CPPU_SOURCE_UNO_ASSIGN_HXX
-#define INCLUDED_CPPU_SOURCE_UNO_ASSIGN_HXX
+#pragma once
#include "prim.hxx"
#include "destr.hxx"
@@ -450,6 +449,4 @@ inline bool _assignData(
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppu/source/uno/cascade_mapping.hxx b/cppu/source/uno/cascade_mapping.hxx
index 37f0f1d5b643..438143f6b7dd 100644
--- a/cppu/source/uno/cascade_mapping.hxx
+++ b/cppu/source/uno/cascade_mapping.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CPPU_SOURCE_UNO_CASCADE_MAPPING_HXX
-#define INCLUDED_CPPU_SOURCE_UNO_CASCADE_MAPPING_HXX
+#pragma once
#include <uno/environment.h>
#include <uno/mapping.h>
@@ -30,6 +29,4 @@ void getCascadeMapping(uno_Mapping ** ppMapping,
uno_Environment * pTo,
rtl_uString * pAddPurpose );
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppu/source/uno/constr.hxx b/cppu/source/uno/constr.hxx
index 73d89b915d1f..9ca2eebf8e8f 100644
--- a/cppu/source/uno/constr.hxx
+++ b/cppu/source/uno/constr.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_CPPU_SOURCE_UNO_CONSTR_HXX
-#define INCLUDED_CPPU_SOURCE_UNO_CONSTR_HXX
+#pragma once
#include "prim.hxx"
#include <osl/diagnose.h>
@@ -136,6 +135,4 @@ inline void _defaultConstructData(
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppu/source/uno/copy.hxx b/cppu/source/uno/copy.hxx
index b61973ec0b7f..6a71d413faee 100644
--- a/cppu/source/uno/copy.hxx
+++ b/cppu/source/uno/copy.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_CPPU_SOURCE_UNO_COPY_HXX
-#define INCLUDED_CPPU_SOURCE_UNO_COPY_HXX
+#pragma once
#include "prim.hxx"
#include "constr.hxx"
@@ -653,6 +652,4 @@ inline void _copyConstructData(
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppu/source/uno/destr.hxx b/cppu/source/uno/destr.hxx
index 1b964e36a698..13e4ca044c3a 100644
--- a/cppu/source/uno/destr.hxx
+++ b/cppu/source/uno/destr.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_CPPU_SOURCE_UNO_DESTR_HXX
-#define INCLUDED_CPPU_SOURCE_UNO_DESTR_HXX
+#pragma once
#include <sal/config.h>
#include <osl/diagnose.h>
@@ -350,6 +349,4 @@ inline void _destructData(
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppu/source/uno/eq.hxx b/cppu/source/uno/eq.hxx
index 59401ad34b3c..6287cdcc3506 100644
--- a/cppu/source/uno/eq.hxx
+++ b/cppu/source/uno/eq.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_CPPU_SOURCE_UNO_EQ_HXX
-#define INCLUDED_CPPU_SOURCE_UNO_EQ_HXX
+#pragma once
#include <cmath>
#include <string.h>
@@ -591,6 +590,4 @@ inline bool _equalData(
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppu/source/uno/loadmodule.hxx b/cppu/source/uno/loadmodule.hxx
index cde33594ce06..4d6c322c1078 100644
--- a/cppu/source/uno/loadmodule.hxx
+++ b/cppu/source/uno/loadmodule.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_CPPU_SOURCE_UNO_LOADMODULE_HXX
-#define INCLUDED_CPPU_SOURCE_UNO_LOADMODULE_HXX
+#pragma once
#include <sal/config.h>
#include <rtl/ustring.hxx>
@@ -43,6 +42,4 @@ bool loadModule(osl::Module & rModule, OUString const & name);
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/cppu/source/uno/prim.hxx b/cppu/source/uno/prim.hxx
index 84f96e7fd38f..733baec0f6f1 100644
--- a/cppu/source/uno/prim.hxx
+++ b/cppu/source/uno/prim.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_CPPU_SOURCE_UNO_PRIM_HXX
-#define INCLUDED_CPPU_SOURCE_UNO_PRIM_HXX
+#pragma once
#include <typelib/typedescription.h>
#include <typelib/typeclass.h>
@@ -151,6 +150,4 @@ inline bool _type_equals(
}
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */