diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-06-10 16:57:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-06-13 16:27:45 +0200 |
commit | 5687eba49fa06202bd190c87ad8e7af634354799 (patch) | |
tree | 2cd5cdce96c30c78011922ca2ceccb9b833c3a08 /codemaker | |
parent | 32dd76143bdf55ac73f03f705097453521b4bf2c (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 'codemaker')
-rw-r--r-- | codemaker/test/javamaker/java15/types.idl | 2 | ||||
-rw-r--r-- | codemaker/test/javamaker/types.idl | 8 |
2 files changed, 0 insertions, 10 deletions
diff --git a/codemaker/test/javamaker/java15/types.idl b/codemaker/test/javamaker/java15/types.idl index 3244eb257201..c8de4973ccd6 100644 --- a/codemaker/test/javamaker/java15/types.idl +++ b/codemaker/test/javamaker/java15/types.idl @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/uno/XInterface.idl> - module test { module codemaker { module javamaker { module java15 { struct PolyStruct<if,else> { diff --git a/codemaker/test/javamaker/types.idl b/codemaker/test/javamaker/types.idl index e0d5170c1ded..3c80ce8d9fbc 100644 --- a/codemaker/test/javamaker/types.idl +++ b/codemaker/test/javamaker/types.idl @@ -17,14 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <com/sun/star/lang/ClassNotFoundException.idl> -#include <com/sun/star/lang/IllegalAccessException.idl> -#include <com/sun/star/uno/DeploymentException.idl> -#include <com/sun/star/uno/Exception.idl> -#include <com/sun/star/uno/RuntimeException.idl> -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/uno/XNamingService.idl> - module test { module codemaker { module javamaker { enum Enum1 { VALUE1 = -100, VALUE2 = 100 }; |