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 /desktop/test/deployment | |
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 'desktop/test/deployment')
-rw-r--r-- | desktop/test/deployment/locationtest/LocationTest.idl | 7 | ||||
-rw-r--r-- | desktop/test/deployment/update/updateinfocreation/build/TestExtension.idl | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/desktop/test/deployment/locationtest/LocationTest.idl b/desktop/test/deployment/locationtest/LocationTest.idl index 9e7881ce1347..75421e245507 100644 --- a/desktop/test/deployment/locationtest/LocationTest.idl +++ b/desktop/test/deployment/locationtest/LocationTest.idl @@ -17,11 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef _com_sun_star_comp_smoketest_LocationTest_idl_ -#define _com_sun_star_comp_smoketest_LocationTest_idl_ - -#include <com/sun/star/lang/XServiceInfo.idl> - module com { module sun { module star { module comp { module smoketest { // example service, XServiceInfo is implemented here for demonstration @@ -29,6 +24,4 @@ module com { module sun { module star { module comp { module smoketest { service TestExtension: ::com::sun::star::lang::XServiceInfo; };};};};}; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/desktop/test/deployment/update/updateinfocreation/build/TestExtension.idl b/desktop/test/deployment/update/updateinfocreation/build/TestExtension.idl index 87b2540e44e9..bd5a1ac5f896 100644 --- a/desktop/test/deployment/update/updateinfocreation/build/TestExtension.idl +++ b/desktop/test/deployment/update/updateinfocreation/build/TestExtension.idl @@ -17,11 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef _com_sun_star_comp_smoketest_TestExtension_idl_ -#define _com_sun_star_comp_smoketest_TestExtension_idl_ - -#include <com/sun/star/lang/XServiceInfo.idl> - module com { module sun { module star { module comp { module smoketest { // example service, XServiceInfo is implemented here for demonstration @@ -29,6 +24,4 @@ module com { module sun { module star { module comp { module smoketest { service TestExtension: css::lang::XServiceInfo; };};};};}; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |