diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-12-28 18:08:42 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-28 19:55:35 +0100 |
commit | 3bf4af8d187ba21498af5b6ea7a94cdfc3b93613 (patch) | |
tree | 77b5a0669626ca5a5bf3059176371b0f4957ae3b /udkapi/com/sun/star/security | |
parent | d016e052ddf30649ad9b729b59134ce1e90a0263 (diff) |
Revert "tdf#124176: Use "pragma once" on udkapi/*"
This reverts commit 8fd8c0894deb1e9161aa4290c0f9c860ab4b14fb.
Reason for revert: As the failed Jenkins build shows, idlc does not support "#pragma once" in UNO .idl files.
Change-Id: Ic025d11254da87876e6248db47b8a9a124f26796
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/85929
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'udkapi/com/sun/star/security')
-rw-r--r-- | udkapi/com/sun/star/security/AccessControlException.idl | 4 | ||||
-rw-r--r-- | udkapi/com/sun/star/security/AccessController.idl | 4 | ||||
-rw-r--r-- | udkapi/com/sun/star/security/AllPermission.idl | 4 | ||||
-rw-r--r-- | udkapi/com/sun/star/security/Policy.idl | 4 | ||||
-rw-r--r-- | udkapi/com/sun/star/security/RuntimePermission.idl | 4 | ||||
-rw-r--r-- | udkapi/com/sun/star/security/XAccessControlContext.idl | 4 | ||||
-rw-r--r-- | udkapi/com/sun/star/security/XAccessController.idl | 4 | ||||
-rw-r--r-- | udkapi/com/sun/star/security/XAction.idl | 4 | ||||
-rw-r--r-- | udkapi/com/sun/star/security/XPolicy.idl | 4 |
9 files changed, 27 insertions, 9 deletions
diff --git a/udkapi/com/sun/star/security/AccessControlException.idl b/udkapi/com/sun/star/security/AccessControlException.idl index 76801216410f..bf429351cc34 100644 --- a/udkapi/com/sun/star/security/AccessControlException.idl +++ b/udkapi/com/sun/star/security/AccessControlException.idl @@ -16,7 +16,8 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#pragma once +#ifndef __com_sun_star_security_AccessControlException_idl__ +#define __com_sun_star_security_AccessControlException_idl__ #include <com/sun/star/uno/SecurityException.idl> @@ -45,5 +46,6 @@ published exception AccessControlException : com::sun::star::uno::SecurityExcept }; }; }; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/security/AccessController.idl b/udkapi/com/sun/star/security/AccessController.idl index e4555b5b144c..7b15eaf45002 100644 --- a/udkapi/com/sun/star/security/AccessController.idl +++ b/udkapi/com/sun/star/security/AccessController.idl @@ -16,7 +16,8 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#pragma once +#ifndef __com_sun_star_security_AccessController_idl__ +#define __com_sun_star_security_AccessController_idl__ #include <com/sun/star/security/XAccessController.idl> @@ -43,5 +44,6 @@ published service AccessController : XAccessController; }; }; }; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/security/AllPermission.idl b/udkapi/com/sun/star/security/AllPermission.idl index 5a3f09df83ad..0817f785d383 100644 --- a/udkapi/com/sun/star/security/AllPermission.idl +++ b/udkapi/com/sun/star/security/AllPermission.idl @@ -16,7 +16,8 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#pragma once +#ifndef __com_sun_star_security_AllPermission_idl__ +#define __com_sun_star_security_AllPermission_idl__ module com { module sun { module star { module security { @@ -41,5 +42,6 @@ published struct AllPermission }; }; }; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/security/Policy.idl b/udkapi/com/sun/star/security/Policy.idl index 30e19b34ef72..38ef5f742eee 100644 --- a/udkapi/com/sun/star/security/Policy.idl +++ b/udkapi/com/sun/star/security/Policy.idl @@ -16,7 +16,8 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#pragma once +#ifndef __com_sun_star_security_Policy_idl__ +#define __com_sun_star_security_Policy_idl__ #include <com/sun/star/security/XPolicy.idl> @@ -31,5 +32,6 @@ published service Policy : XPolicy; }; }; }; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/security/RuntimePermission.idl b/udkapi/com/sun/star/security/RuntimePermission.idl index 6accecb6280a..cd209942ee6d 100644 --- a/udkapi/com/sun/star/security/RuntimePermission.idl +++ b/udkapi/com/sun/star/security/RuntimePermission.idl @@ -16,7 +16,8 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#pragma once +#ifndef __com_sun_star_security_RuntimePermission_idl__ +#define __com_sun_star_security_RuntimePermission_idl__ module com { module sun { module star { module security { @@ -37,5 +38,6 @@ published struct RuntimePermission }; }; }; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/security/XAccessControlContext.idl b/udkapi/com/sun/star/security/XAccessControlContext.idl index 8ee630933291..98afc0af4a19 100644 --- a/udkapi/com/sun/star/security/XAccessControlContext.idl +++ b/udkapi/com/sun/star/security/XAccessControlContext.idl @@ -16,7 +16,8 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#pragma once +#ifndef __com_sun_star_security_XAccessControlContext_idl__ +#define __com_sun_star_security_XAccessControlContext_idl__ #include <com/sun/star/uno/XInterface.idl> #include <com/sun/star/security/AccessControlException.idl> @@ -72,5 +73,6 @@ published interface XAccessControlContext : com::sun::star::uno::XInterface }; }; }; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/security/XAccessController.idl b/udkapi/com/sun/star/security/XAccessController.idl index 0cecf4b32efb..ad792b000ba5 100644 --- a/udkapi/com/sun/star/security/XAccessController.idl +++ b/udkapi/com/sun/star/security/XAccessController.idl @@ -16,7 +16,8 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#pragma once +#ifndef __com_sun_star_security_XAccessController_idl__ +#define __com_sun_star_security_XAccessController_idl__ #include <com/sun/star/uno/XInterface.idl> #include <com/sun/star/security/XAccessControlContext.idl> @@ -130,5 +131,6 @@ published interface XAccessController : com::sun::star::uno::XInterface }; }; }; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/security/XAction.idl b/udkapi/com/sun/star/security/XAction.idl index 2d0bfe56b952..dd6d2d492b15 100644 --- a/udkapi/com/sun/star/security/XAction.idl +++ b/udkapi/com/sun/star/security/XAction.idl @@ -16,7 +16,8 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#pragma once +#ifndef __com_sun_star_security_XAction_idl__ +#define __com_sun_star_security_XAction_idl__ #include <com/sun/star/uno/XInterface.idl> #include <com/sun/star/uno/Exception.idl> @@ -46,5 +47,6 @@ published interface XAction : com::sun::star::uno::XInterface }; }; }; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/security/XPolicy.idl b/udkapi/com/sun/star/security/XPolicy.idl index 114b1e30100f..527c7f190d66 100644 --- a/udkapi/com/sun/star/security/XPolicy.idl +++ b/udkapi/com/sun/star/security/XPolicy.idl @@ -16,7 +16,8 @@ * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#pragma once +#ifndef __com_sun_star_security_XPolicy_idl__ +#define __com_sun_star_security_XPolicy_idl__ #include <com/sun/star/uno/XInterface.idl> @@ -56,5 +57,6 @@ published interface XPolicy : com::sun::star::uno::XInterface }; }; }; }; +#endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |