summaryrefslogtreecommitdiff
path: root/udkapi/com/sun/star/security
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-06-10 16:57:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-06-13 16:27:45 +0200
commit5687eba49fa06202bd190c87ad8e7af634354799 (patch)
tree2cd5cdce96c30c78011922ca2ceccb9b833c3a08 /udkapi/com/sun/star/security
parent32dd76143bdf55ac73f03f705097453521b4bf2c (diff)
Drop obsolete preprocessor directives from UNOIDL files
...which were used by ildc, which is gone since a8485d558fab53291e2530fd9a1be581c1628deb "[API CHANGE] Remove deprecated idlc and regmerge from the SDK", and have always been ignored as legacy by its unoidl-write replacement. This change has been carried out (making use of GNU sed extensions) with > for i in $(git ls-files \*.idl); do sed -i -z -E -e 's/\n\n((#[^\n]*\n)+\n)*(#[^\n]*\n)+\n?/\n\n/g' -e 's/\n(#[^\n]*\n)+/\n/g' "$i"; done && git checkout extensions/source/activex/so_activex.idl odk/examples/OLE/activex/so_activex.idl which apparently happened to do the work. (The final two files are not UNOIDL source files.) Change-Id: Ic9369e05d46e8f7e8a304ab01740b171b92335cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135683 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'udkapi/com/sun/star/security')
-rw-r--r--udkapi/com/sun/star/security/AccessControlException.idl6
-rw-r--r--udkapi/com/sun/star/security/AccessController.idl6
-rw-r--r--udkapi/com/sun/star/security/AllPermission.idl4
-rw-r--r--udkapi/com/sun/star/security/Policy.idl5
-rw-r--r--udkapi/com/sun/star/security/RuntimePermission.idl4
-rw-r--r--udkapi/com/sun/star/security/XAccessControlContext.idl7
-rw-r--r--udkapi/com/sun/star/security/XAccessController.idl9
-rw-r--r--udkapi/com/sun/star/security/XAction.idl7
-rw-r--r--udkapi/com/sun/star/security/XPolicy.idl5
9 files changed, 0 insertions, 53 deletions
diff --git a/udkapi/com/sun/star/security/AccessControlException.idl b/udkapi/com/sun/star/security/AccessControlException.idl
index bf429351cc34..84b5e29be069 100644
--- a/udkapi/com/sun/star/security/AccessControlException.idl
+++ b/udkapi/com/sun/star/security/AccessControlException.idl
@@ -16,10 +16,6 @@
* 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_security_AccessControlException_idl__
-#define __com_sun_star_security_AccessControlException_idl__
-
-#include <com/sun/star/uno/SecurityException.idl>
module com { module sun { module star { module security {
@@ -46,6 +42,4 @@ 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 7b15eaf45002..d5dd2f10541b 100644
--- a/udkapi/com/sun/star/security/AccessController.idl
+++ b/udkapi/com/sun/star/security/AccessController.idl
@@ -16,10 +16,6 @@
* 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_security_AccessController_idl__
-#define __com_sun_star_security_AccessController_idl__
-
-#include <com/sun/star/security/XAccessController.idl>
@@ -44,6 +40,4 @@ 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 0817f785d383..7c916c69f068 100644
--- a/udkapi/com/sun/star/security/AllPermission.idl
+++ b/udkapi/com/sun/star/security/AllPermission.idl
@@ -16,8 +16,6 @@
* 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_security_AllPermission_idl__
-#define __com_sun_star_security_AllPermission_idl__
module com { module sun { module star { module security {
@@ -42,6 +40,4 @@ 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 38ef5f742eee..ac0f5ecd610a 100644
--- a/udkapi/com/sun/star/security/Policy.idl
+++ b/udkapi/com/sun/star/security/Policy.idl
@@ -16,9 +16,6 @@
* 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_security_Policy_idl__
-#define __com_sun_star_security_Policy_idl__
-#include <com/sun/star/security/XPolicy.idl>
module com { module sun { module star { module security {
@@ -32,6 +29,4 @@ 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 cd209942ee6d..e918a038ec5d 100644
--- a/udkapi/com/sun/star/security/RuntimePermission.idl
+++ b/udkapi/com/sun/star/security/RuntimePermission.idl
@@ -16,8 +16,6 @@
* 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_security_RuntimePermission_idl__
-#define __com_sun_star_security_RuntimePermission_idl__
module com { module sun { module star { module security {
@@ -38,6 +36,4 @@ 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 98afc0af4a19..b6ed5b8688a8 100644
--- a/udkapi/com/sun/star/security/XAccessControlContext.idl
+++ b/udkapi/com/sun/star/security/XAccessControlContext.idl
@@ -16,11 +16,6 @@
* 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_security_XAccessControlContext_idl__
-#define __com_sun_star_security_XAccessControlContext_idl__
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/security/AccessControlException.idl>
@@ -73,6 +68,4 @@ 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 ad792b000ba5..50c1a38af545 100644
--- a/udkapi/com/sun/star/security/XAccessController.idl
+++ b/udkapi/com/sun/star/security/XAccessController.idl
@@ -16,13 +16,6 @@
* 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_security_XAccessController_idl__
-#define __com_sun_star_security_XAccessController_idl__
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/security/XAccessControlContext.idl>
-#include <com/sun/star/security/XAction.idl>
-#include <com/sun/star/security/AccessControlException.idl>
@@ -131,6 +124,4 @@ 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 dd6d2d492b15..259950be8e27 100644
--- a/udkapi/com/sun/star/security/XAction.idl
+++ b/udkapi/com/sun/star/security/XAction.idl
@@ -16,11 +16,6 @@
* 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_security_XAction_idl__
-#define __com_sun_star_security_XAction_idl__
-
-#include <com/sun/star/uno/XInterface.idl>
-#include <com/sun/star/uno/Exception.idl>
@@ -47,6 +42,4 @@ 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 527c7f190d66..4d42e7fea210 100644
--- a/udkapi/com/sun/star/security/XPolicy.idl
+++ b/udkapi/com/sun/star/security/XPolicy.idl
@@ -16,9 +16,6 @@
* 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_security_XPolicy_idl__
-#define __com_sun_star_security_XPolicy_idl__
-#include <com/sun/star/uno/XInterface.idl>
module com { module sun { module star { module security {
@@ -57,6 +54,4 @@ published interface XPolicy : com::sun::star::uno::XInterface
}; }; }; };
-#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */