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 /udkapi/com/sun/star/uri | |
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 'udkapi/com/sun/star/uri')
15 files changed, 0 insertions, 102 deletions
diff --git a/udkapi/com/sun/star/uri/ExternalUriReferenceTranslator.idl b/udkapi/com/sun/star/uri/ExternalUriReferenceTranslator.idl index baf7cdb3b5b8..ee9b2650b756 100644 --- a/udkapi/com/sun/star/uri/ExternalUriReferenceTranslator.idl +++ b/udkapi/com/sun/star/uri/ExternalUriReferenceTranslator.idl @@ -17,11 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_uri_ExternalUriReferenceTranslator_idl__ -#define __com_sun_star_uri_ExternalUriReferenceTranslator_idl__ - -#include <com/sun/star/uri/XExternalUriReferenceTranslator.idl> - module com { module sun { module star { module uri { /** @@ -34,6 +29,4 @@ published service ExternalUriReferenceTranslator: }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/uri/RelativeUriExcessParentSegments.idl b/udkapi/com/sun/star/uri/RelativeUriExcessParentSegments.idl index 59572166d536..a01ab39242c0 100644 --- a/udkapi/com/sun/star/uri/RelativeUriExcessParentSegments.idl +++ b/udkapi/com/sun/star/uri/RelativeUriExcessParentSegments.idl @@ -17,9 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_uri_RelativeUriExcessParentSegments_idl__ -#define __com_sun_star_uri_RelativeUriExcessParentSegments_idl__ - module com { module sun { module star { module uri { /** @@ -51,6 +48,4 @@ published enum RelativeUriExcessParentSegments { }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/uri/UriReferenceFactory.idl b/udkapi/com/sun/star/uri/UriReferenceFactory.idl index c19e8167d1d1..9d2d4860a46f 100644 --- a/udkapi/com/sun/star/uri/UriReferenceFactory.idl +++ b/udkapi/com/sun/star/uri/UriReferenceFactory.idl @@ -17,9 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_uri_UriReferenceFactory_idl__ -#define __com_sun_star_uri_UriReferenceFactory_idl__ - module com { module sun { module star { module uri { published interface XUriReferenceFactory; @@ -66,6 +63,4 @@ published service UriReferenceFactory: XUriReferenceFactory; }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/uri/UriSchemeParser_vndDOTsunDOTstarDOTexpand.idl b/udkapi/com/sun/star/uri/UriSchemeParser_vndDOTsunDOTstarDOTexpand.idl index d146d91a80fd..7ce3b6abbc23 100644 --- a/udkapi/com/sun/star/uri/UriSchemeParser_vndDOTsunDOTstarDOTexpand.idl +++ b/udkapi/com/sun/star/uri/UriSchemeParser_vndDOTsunDOTstarDOTexpand.idl @@ -17,9 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_uri_UriSchemeParser_vndDOTsunDOTstarDOTexpand_idl__ -#define __com_sun_star_uri_UriSchemeParser_vndDOTsunDOTstarDOTexpand_idl__ - module com { module sun { module star { module uri { published interface XUriSchemeParser; @@ -47,6 +44,4 @@ published service UriSchemeParser_vndDOTsunDOTstarDOTexpand: XUriSchemeParser }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/uri/UriSchemeParser_vndDOTsunDOTstarDOTscript.idl b/udkapi/com/sun/star/uri/UriSchemeParser_vndDOTsunDOTstarDOTscript.idl index 861be045cc77..eb431cc1e964 100644 --- a/udkapi/com/sun/star/uri/UriSchemeParser_vndDOTsunDOTstarDOTscript.idl +++ b/udkapi/com/sun/star/uri/UriSchemeParser_vndDOTsunDOTstarDOTscript.idl @@ -17,9 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_uri_UriSchemeParser_vndDOTsunDOTstarDOTscript_idl__ -#define __com_sun_star_uri_UriSchemeParser_vndDOTsunDOTstarDOTscript_idl__ - module com { module sun { module star { module uri { published interface XUriSchemeParser; @@ -47,6 +44,4 @@ published service UriSchemeParser_vndDOTsunDOTstarDOTscript: XUriSchemeParser }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/uri/VndSunStarPkgUrlReferenceFactory.idl b/udkapi/com/sun/star/uri/VndSunStarPkgUrlReferenceFactory.idl index 68eb8ecbf2d3..d9e3090f45f2 100644 --- a/udkapi/com/sun/star/uri/VndSunStarPkgUrlReferenceFactory.idl +++ b/udkapi/com/sun/star/uri/VndSunStarPkgUrlReferenceFactory.idl @@ -17,9 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_uri_VndSunStarPkgUrlReferenceFactory_idl__ -#define __com_sun_star_uri_VndSunStarPkgUrlReferenceFactory_idl__ - module com { module sun { module star { module uri { published interface XVndSunStarPkgUrlReferenceFactory; @@ -34,6 +31,4 @@ published service VndSunStarPkgUrlReferenceFactory: }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/uri/XExternalUriReferenceTranslator.idl b/udkapi/com/sun/star/uri/XExternalUriReferenceTranslator.idl index 05743329b5c4..926b34b63355 100644 --- a/udkapi/com/sun/star/uri/XExternalUriReferenceTranslator.idl +++ b/udkapi/com/sun/star/uri/XExternalUriReferenceTranslator.idl @@ -17,11 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_uri_XExternalUriReferenceTranslator_idl__ -#define __com_sun_star_uri_XExternalUriReferenceTranslator_idl__ - -#include <com/sun/star/uno/XInterface.idl> - module com { module sun { module star { module uri { /** @@ -80,6 +75,4 @@ published interface XExternalUriReferenceTranslator { }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/uri/XUriReference.idl b/udkapi/com/sun/star/uri/XUriReference.idl index ba42f283f8c6..c2b971935f1d 100644 --- a/udkapi/com/sun/star/uri/XUriReference.idl +++ b/udkapi/com/sun/star/uri/XUriReference.idl @@ -17,11 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_uri_XUriReference_idl__ -#define __com_sun_star_uri_XUriReference_idl__ - -#include <com/sun/star/uno/XInterface.idl> - module com { module sun { module star { module uri { /** @@ -222,6 +217,4 @@ published interface XUriReference: com::sun::star::uno::XInterface { }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/uri/XUriReferenceFactory.idl b/udkapi/com/sun/star/uri/XUriReferenceFactory.idl index e87542aa4f58..b6ad81cd928e 100644 --- a/udkapi/com/sun/star/uri/XUriReferenceFactory.idl +++ b/udkapi/com/sun/star/uri/XUriReferenceFactory.idl @@ -17,13 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_uri_XUriReferenceFactory_idl__ -#define __com_sun_star_uri_XUriReferenceFactory_idl__ - -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/uri/RelativeUriExcessParentSegments.idl> -#include <com/sun/star/uri/XUriReference.idl> - module com { module sun { module star { module uri { /** @@ -155,6 +148,4 @@ published interface XUriReferenceFactory: com::sun::star::uno::XInterface { }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/uri/XUriSchemeParser.idl b/udkapi/com/sun/star/uri/XUriSchemeParser.idl index 573a3cfb918c..0d35a1dce40f 100644 --- a/udkapi/com/sun/star/uri/XUriSchemeParser.idl +++ b/udkapi/com/sun/star/uri/XUriSchemeParser.idl @@ -17,12 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_uri_XUriSchemeParser_idl__ -#define __com_sun_star_uri_XUriSchemeParser_idl__ - -#include <com/sun/star/uno/XInterface.idl> -#include <com/sun/star/uri/XUriReference.idl> - module com { module sun { module star { module uri { /** @@ -64,6 +58,4 @@ published interface XUriSchemeParser: com::sun::star::uno::XInterface { }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/uri/XVndSunStarExpandUrl.idl b/udkapi/com/sun/star/uri/XVndSunStarExpandUrl.idl index 8de9d5380096..18fbb89f4408 100644 --- a/udkapi/com/sun/star/uri/XVndSunStarExpandUrl.idl +++ b/udkapi/com/sun/star/uri/XVndSunStarExpandUrl.idl @@ -17,12 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_uri_XVndSunStarExpandUrl_idl__ -#define __com_sun_star_uri_XVndSunStarExpandUrl_idl__ - -#include <com/sun/star/lang/IllegalArgumentException.idl> -#include <com/sun/star/uno/XInterface.idl> - module com { module sun { module star { module util { published interface XMacroExpander; }; }; }; }; @@ -64,6 +58,4 @@ published interface XVndSunStarExpandUrl { }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/uri/XVndSunStarExpandUrlReference.idl b/udkapi/com/sun/star/uri/XVndSunStarExpandUrlReference.idl index ab7f07dd650c..bba3302d2144 100644 --- a/udkapi/com/sun/star/uri/XVndSunStarExpandUrlReference.idl +++ b/udkapi/com/sun/star/uri/XVndSunStarExpandUrlReference.idl @@ -17,12 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_uri_XVndSunStarExpandUrlReference_idl__ -#define __com_sun_star_uri_XVndSunStarExpandUrlReference_idl__ - -#include <com/sun/star/uri/XUriReference.idl> -#include <com/sun/star/uri/XVndSunStarExpandUrl.idl> - module com { module sun { module star { module uri { /** @@ -48,6 +42,4 @@ published interface XVndSunStarExpandUrlReference { }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/uri/XVndSunStarPkgUrlReferenceFactory.idl b/udkapi/com/sun/star/uri/XVndSunStarPkgUrlReferenceFactory.idl index 03b58b718564..877e6775e280 100644 --- a/udkapi/com/sun/star/uri/XVndSunStarPkgUrlReferenceFactory.idl +++ b/udkapi/com/sun/star/uri/XVndSunStarPkgUrlReferenceFactory.idl @@ -17,11 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_uri_XVndSunStarPkgUrlReferenceFactory_idl__ -#define __com_sun_star_uri_XVndSunStarPkgUrlReferenceFactory_idl__ - -#include <com/sun/star/uno/XInterface.idl> - module com { module sun { module star { module uri { published interface XUriReference; @@ -50,6 +45,4 @@ published interface XVndSunStarPkgUrlReferenceFactory { }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/uri/XVndSunStarScriptUrl.idl b/udkapi/com/sun/star/uri/XVndSunStarScriptUrl.idl index ca703bcf4bdb..4647bf1847a4 100644 --- a/udkapi/com/sun/star/uri/XVndSunStarScriptUrl.idl +++ b/udkapi/com/sun/star/uri/XVndSunStarScriptUrl.idl @@ -17,12 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_uri_XVndSunStarScriptUrl_idl__ -#define __com_sun_star_uri_XVndSunStarScriptUrl_idl__ - -#include <com/sun/star/lang/IllegalArgumentException.idl> -#include <com/sun/star/uno/XInterface.idl> - module com { module sun { module star { module uri { /** @@ -125,6 +119,4 @@ published interface XVndSunStarScriptUrl: com::sun::star::uno::XInterface { }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/udkapi/com/sun/star/uri/XVndSunStarScriptUrlReference.idl b/udkapi/com/sun/star/uri/XVndSunStarScriptUrlReference.idl index 77209068f4cd..3ad553935e6c 100644 --- a/udkapi/com/sun/star/uri/XVndSunStarScriptUrlReference.idl +++ b/udkapi/com/sun/star/uri/XVndSunStarScriptUrlReference.idl @@ -17,12 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_uri_XVndSunStarScriptUrlReference_idl__ -#define __com_sun_star_uri_XVndSunStarScriptUrlReference_idl__ - -#include <com/sun/star/uri/XUriReference.idl> -#include <com/sun/star/uri/XVndSunStarScriptUrl.idl> - module com { module sun { module star { module uri { /** @@ -46,6 +40,4 @@ published interface XVndSunStarScriptUrlReference { }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |