summaryrefslogtreecommitdiff
path: root/udkapi/com/sun/star/uno
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-12-28 01:35:16 +0100
committerJulien Nabet <serval2412@yahoo.fr>2019-12-28 11:57:31 +0100
commit8fd8c0894deb1e9161aa4290c0f9c860ab4b14fb (patch)
tree9f73b75cefc72d07fca8d8c36b39071489e004e9 /udkapi/com/sun/star/uno
parent08eccd9db6e7e2240a4053092967add4624a5f6c (diff)
tdf#124176: Use "pragma once" on udkapi/*
It passed "make check" on Linux Change-Id: Ifb37ad620ccafe568e2b2d7ab350d444b18b7b56 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85898 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'udkapi/com/sun/star/uno')
-rw-r--r--udkapi/com/sun/star/uno/DeploymentException.idl4
-rw-r--r--udkapi/com/sun/star/uno/Exception.idl4
-rw-r--r--udkapi/com/sun/star/uno/NamingService.idl4
-rw-r--r--udkapi/com/sun/star/uno/RuntimeException.idl4
-rw-r--r--udkapi/com/sun/star/uno/SecurityException.idl4
-rw-r--r--udkapi/com/sun/star/uno/TypeClass.idl4
-rw-r--r--udkapi/com/sun/star/uno/Uik.idl4
-rw-r--r--udkapi/com/sun/star/uno/XAdapter.idl4
-rw-r--r--udkapi/com/sun/star/uno/XAggregation.idl4
-rw-r--r--udkapi/com/sun/star/uno/XComponentContext.idl4
-rw-r--r--udkapi/com/sun/star/uno/XCurrentContext.idl4
-rw-r--r--udkapi/com/sun/star/uno/XInterface.idl4
-rw-r--r--udkapi/com/sun/star/uno/XNamingService.idl4
-rw-r--r--udkapi/com/sun/star/uno/XReference.idl4
-rw-r--r--udkapi/com/sun/star/uno/XUnloadingPreference.idl4
-rw-r--r--udkapi/com/sun/star/uno/XWeak.idl4
16 files changed, 16 insertions, 48 deletions
diff --git a/udkapi/com/sun/star/uno/DeploymentException.idl b/udkapi/com/sun/star/uno/DeploymentException.idl
index e3f6ef240a4c..407dc70cd3a9 100644
--- a/udkapi/com/sun/star/uno/DeploymentException.idl
+++ b/udkapi/com/sun/star/uno/DeploymentException.idl
@@ -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 __com_sun_star_uno_DeploymentException_idl__
-#define __com_sun_star_uno_DeploymentException_idl__
+#pragma once
#include <com/sun/star/uno/RuntimeException.idl>
@@ -37,6 +36,5 @@ published exception DeploymentException : com::sun::star::uno::RuntimeException
}; }; }; };
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/udkapi/com/sun/star/uno/Exception.idl b/udkapi/com/sun/star/uno/Exception.idl
index 80b151930e0f..d6d3ca703471 100644
--- a/udkapi/com/sun/star/uno/Exception.idl
+++ b/udkapi/com/sun/star/uno/Exception.idl
@@ -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 __com_sun_star_uno_Exception_idl__
-#define __com_sun_star_uno_Exception_idl__
+#pragma once
#include <com/sun/star/uno/XInterface.idl>
@@ -49,6 +48,5 @@ published exception Exception
}; }; }; };
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/udkapi/com/sun/star/uno/NamingService.idl b/udkapi/com/sun/star/uno/NamingService.idl
index 4ecaac920fd0..54476e053d2d 100644
--- a/udkapi/com/sun/star/uno/NamingService.idl
+++ b/udkapi/com/sun/star/uno/NamingService.idl
@@ -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 __com_sun_star_uno_NamingService_idl__
-#define __com_sun_star_uno_NamingService_idl__
+#pragma once
#include <com/sun/star/uno/XNamingService.idl>
@@ -35,6 +34,5 @@ published service NamingService : com::sun::star::uno::XNamingService;
Source Code Control System - Update
=============================================================================*/
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/udkapi/com/sun/star/uno/RuntimeException.idl b/udkapi/com/sun/star/uno/RuntimeException.idl
index 284efd173fe6..1ead53c26121 100644
--- a/udkapi/com/sun/star/uno/RuntimeException.idl
+++ b/udkapi/com/sun/star/uno/RuntimeException.idl
@@ -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 __com_sun_star_uno_RuntimeException_idl__
-#define __com_sun_star_uno_RuntimeException_idl__
+#pragma once
#include <com/sun/star/uno/Exception.idl>
@@ -41,6 +40,5 @@ published exception RuntimeException: com::sun::star::uno::Exception
}; }; }; };
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/udkapi/com/sun/star/uno/SecurityException.idl b/udkapi/com/sun/star/uno/SecurityException.idl
index 1713ec777981..70c043e79710 100644
--- a/udkapi/com/sun/star/uno/SecurityException.idl
+++ b/udkapi/com/sun/star/uno/SecurityException.idl
@@ -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 __com_sun_star_uno_SecurityException_idl__
-#define __com_sun_star_uno_SecurityException_idl__
+#pragma once
#include <com/sun/star/uno/RuntimeException.idl>
@@ -35,6 +34,5 @@ published exception SecurityException : com::sun::star::uno::RuntimeException
}; }; }; };
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/udkapi/com/sun/star/uno/TypeClass.idl b/udkapi/com/sun/star/uno/TypeClass.idl
index 1def57d6fbb9..b2a3597a9295 100644
--- a/udkapi/com/sun/star/uno/TypeClass.idl
+++ b/udkapi/com/sun/star/uno/TypeClass.idl
@@ -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 __com_sun_star_uno_TypeClass_idl__
-#define __com_sun_star_uno_TypeClass_idl__
+#pragma once
@@ -140,6 +139,5 @@ published enum TypeClass
}; }; }; };
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/udkapi/com/sun/star/uno/Uik.idl b/udkapi/com/sun/star/uno/Uik.idl
index 1aa266cc8d3e..5bce9be80c22 100644
--- a/udkapi/com/sun/star/uno/Uik.idl
+++ b/udkapi/com/sun/star/uno/Uik.idl
@@ -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 __com_sun_star_uno_Uik_idl__
-#define __com_sun_star_uno_Uik_idl__
+#pragma once
@@ -54,6 +53,5 @@ published struct Uik
}; }; }; };
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/udkapi/com/sun/star/uno/XAdapter.idl b/udkapi/com/sun/star/uno/XAdapter.idl
index 506d888648c0..5eb047df8676 100644
--- a/udkapi/com/sun/star/uno/XAdapter.idl
+++ b/udkapi/com/sun/star/uno/XAdapter.idl
@@ -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 __com_sun_star_uno_XAdapter_idl__
-#define __com_sun_star_uno_XAdapter_idl__
+#pragma once
#include <com/sun/star/uno/XInterface.idl>
@@ -62,6 +61,5 @@ published interface XAdapter: com::sun::star::uno::XInterface
}; }; }; };
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/udkapi/com/sun/star/uno/XAggregation.idl b/udkapi/com/sun/star/uno/XAggregation.idl
index 2bd5b6f256b1..c894daa6135b 100644
--- a/udkapi/com/sun/star/uno/XAggregation.idl
+++ b/udkapi/com/sun/star/uno/XAggregation.idl
@@ -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 __com_sun_star_uno_XAggregation_idl__
-#define __com_sun_star_uno_XAggregation_idl__
+#pragma once
#include <com/sun/star/uno/XInterface.idl>
@@ -106,6 +105,5 @@ published interface XAggregation: com::sun::star::uno::XInterface
}; }; }; };
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/udkapi/com/sun/star/uno/XComponentContext.idl b/udkapi/com/sun/star/uno/XComponentContext.idl
index ad61a2d3fbba..305dac99f05e 100644
--- a/udkapi/com/sun/star/uno/XComponentContext.idl
+++ b/udkapi/com/sun/star/uno/XComponentContext.idl
@@ -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 __com_sun_star_uno_XComponentContext_idl__
-#define __com_sun_star_uno_XComponentContext_idl__
+#pragma once
#include <com/sun/star/uno/Exception.idl>
@@ -57,6 +56,5 @@ published interface XComponentContext : XInterface
}; }; }; };
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/udkapi/com/sun/star/uno/XCurrentContext.idl b/udkapi/com/sun/star/uno/XCurrentContext.idl
index f915efd2ad49..3505a3fc9b2d 100644
--- a/udkapi/com/sun/star/uno/XCurrentContext.idl
+++ b/udkapi/com/sun/star/uno/XCurrentContext.idl
@@ -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 __com_sun_star_uno_XCurrentContext_idl__
-#define __com_sun_star_uno_XCurrentContext_idl__
+#pragma once
#include <com/sun/star/uno/XInterface.idl>
@@ -48,6 +47,5 @@ published interface XCurrentContext : XInterface
}; }; }; };
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/udkapi/com/sun/star/uno/XInterface.idl b/udkapi/com/sun/star/uno/XInterface.idl
index f8632a8e47c7..cfb2b012f022 100644
--- a/udkapi/com/sun/star/uno/XInterface.idl
+++ b/udkapi/com/sun/star/uno/XInterface.idl
@@ -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 __com_sun_star_uno_XInterface_idl__
-#define __com_sun_star_uno_XInterface_idl__
+#pragma once
module com { module sun { module star { module uno {
@@ -111,6 +110,5 @@ published interface XInterface
}; }; }; };
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/udkapi/com/sun/star/uno/XNamingService.idl b/udkapi/com/sun/star/uno/XNamingService.idl
index b0e592401f6f..3605360cdd1f 100644
--- a/udkapi/com/sun/star/uno/XNamingService.idl
+++ b/udkapi/com/sun/star/uno/XNamingService.idl
@@ -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 __com_sun_star_uno_XNamingService_idl__
-#define __com_sun_star_uno_XNamingService_idl__
+#pragma once
#include <com/sun/star/uno/XInterface.idl>
@@ -64,6 +63,5 @@ published interface XNamingService: com::sun::star::uno::XInterface
Source Code Control System - Update
=============================================================================*/
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/udkapi/com/sun/star/uno/XReference.idl b/udkapi/com/sun/star/uno/XReference.idl
index 39b4cdb7090e..60db83f6026e 100644
--- a/udkapi/com/sun/star/uno/XReference.idl
+++ b/udkapi/com/sun/star/uno/XReference.idl
@@ -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 __com_sun_star_uno_XReference_idl__
-#define __com_sun_star_uno_XReference_idl__
+#pragma once
#include <com/sun/star/uno/XInterface.idl>
@@ -47,6 +46,5 @@ published interface XReference: com::sun::star::uno::XInterface
}; }; }; };
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/udkapi/com/sun/star/uno/XUnloadingPreference.idl b/udkapi/com/sun/star/uno/XUnloadingPreference.idl
index 28dbea1fcbf9..71d63edc179f 100644
--- a/udkapi/com/sun/star/uno/XUnloadingPreference.idl
+++ b/udkapi/com/sun/star/uno/XUnloadingPreference.idl
@@ -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 __com_sun_star_uno_XUnloadingPreference_idl__
-#define __com_sun_star_uno_XUnloadingPreference_idl__
+#pragma once
#include <com/sun/star/uno/XInterface.idl>
@@ -35,6 +34,5 @@ published interface XUnloadingPreference: com::sun::star::uno::XInterface
}; }; }; };
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/udkapi/com/sun/star/uno/XWeak.idl b/udkapi/com/sun/star/uno/XWeak.idl
index 16e7428f5d04..b5a8efd7d2a6 100644
--- a/udkapi/com/sun/star/uno/XWeak.idl
+++ b/udkapi/com/sun/star/uno/XWeak.idl
@@ -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 __com_sun_star_uno_XWeak_idl__
-#define __com_sun_star_uno_XWeak_idl__
+#pragma once
#include <com/sun/star/uno/XInterface.idl>
@@ -97,6 +96,5 @@ published interface XWeak: com::sun::star::uno::XInterface
}; }; }; };
-#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */