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 /offapi/com/sun/star/gallery | |
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 'offapi/com/sun/star/gallery')
-rw-r--r-- | offapi/com/sun/star/gallery/GalleryItem.idl | 10 | ||||
-rw-r--r-- | offapi/com/sun/star/gallery/GalleryItemType.idl | 5 | ||||
-rw-r--r-- | offapi/com/sun/star/gallery/GalleryTheme.idl | 7 | ||||
-rw-r--r-- | offapi/com/sun/star/gallery/GalleryThemeProvider.idl | 8 | ||||
-rw-r--r-- | offapi/com/sun/star/gallery/XGalleryItem.idl | 7 | ||||
-rw-r--r-- | offapi/com/sun/star/gallery/XGalleryTheme.idl | 12 | ||||
-rw-r--r-- | offapi/com/sun/star/gallery/XGalleryThemeProvider.idl | 10 |
7 files changed, 0 insertions, 59 deletions
diff --git a/offapi/com/sun/star/gallery/GalleryItem.idl b/offapi/com/sun/star/gallery/GalleryItem.idl index 848973e9985b..8ddf861fc155 100644 --- a/offapi/com/sun/star/gallery/GalleryItem.idl +++ b/offapi/com/sun/star/gallery/GalleryItem.idl @@ -17,14 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_gallery_GalleryItem_idl__ -#define __com_sun_star_gallery_GalleryItem_idl__ - -#include <com/sun/star/gallery/XGalleryItem.idl> -#include <com/sun/star/beans/XPropertySet.idl> -#include <com/sun/star/graphic/XGraphic.idl> -#include <com/sun/star/lang/XComponent.idl> - module com { module sun { module star { module gallery { @@ -78,6 +70,4 @@ service GalleryItem }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/gallery/GalleryItemType.idl b/offapi/com/sun/star/gallery/GalleryItemType.idl index f598a2a7d0f5..f68f0af090de 100644 --- a/offapi/com/sun/star/gallery/GalleryItemType.idl +++ b/offapi/com/sun/star/gallery/GalleryItemType.idl @@ -17,9 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_gallery_GalleryItemType_idl__ -#define __com_sun_star_gallery_GalleryItemType_idl__ - module com { module sun { module star { module gallery { /** Constants that describe the type of graphic @@ -46,6 +43,4 @@ constants GalleryItemType }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/gallery/GalleryTheme.idl b/offapi/com/sun/star/gallery/GalleryTheme.idl index c59f6de89f98..33f9e67b759e 100644 --- a/offapi/com/sun/star/gallery/GalleryTheme.idl +++ b/offapi/com/sun/star/gallery/GalleryTheme.idl @@ -17,11 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_gallery_GalleryTheme_idl__ -#define __com_sun_star_gallery_GalleryTheme_idl__ - -#include <com/sun/star/gallery/XGalleryTheme.idl> - module com { module sun { module star { module gallery { @@ -41,6 +36,4 @@ service GalleryTheme }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/gallery/GalleryThemeProvider.idl b/offapi/com/sun/star/gallery/GalleryThemeProvider.idl index c8bc257c60c8..be976b5e131f 100644 --- a/offapi/com/sun/star/gallery/GalleryThemeProvider.idl +++ b/offapi/com/sun/star/gallery/GalleryThemeProvider.idl @@ -17,12 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_gallery_GalleryThemeProvider_idl__ -#define __com_sun_star_gallery_GalleryThemeProvider_idl__ - -#include <com/sun/star/gallery/XGalleryThemeProvider.idl> -#include <com/sun/star/lang/XInitialization.idl> - module com { module sun { module star { module gallery { @@ -55,6 +49,4 @@ service GalleryThemeProvider }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/gallery/XGalleryItem.idl b/offapi/com/sun/star/gallery/XGalleryItem.idl index 6687b8354874..f567882d371b 100644 --- a/offapi/com/sun/star/gallery/XGalleryItem.idl +++ b/offapi/com/sun/star/gallery/XGalleryItem.idl @@ -17,11 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_gallery_XGalleryItem_idl__ -#define __com_sun_star_gallery_XGalleryItem_idl__ - -#include <com/sun/star/uno/XInterface.idl> - module com { module sun { module star { module gallery { @@ -43,6 +38,4 @@ interface XGalleryItem : com::sun::star::uno::XInterface }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/gallery/XGalleryTheme.idl b/offapi/com/sun/star/gallery/XGalleryTheme.idl index 749def1d706c..0e4e61655c29 100644 --- a/offapi/com/sun/star/gallery/XGalleryTheme.idl +++ b/offapi/com/sun/star/gallery/XGalleryTheme.idl @@ -17,16 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_gallery_XGalleryTheme_idl__ -#define __com_sun_star_gallery_XGalleryTheme_idl__ - -#include <com/sun/star/container/XIndexAccess.idl> -#include <com/sun/star/lang/XComponent.idl> -#include <com/sun/star/lang/IndexOutOfBoundsException.idl> -#include <com/sun/star/lang/WrappedTargetException.idl> -#include <com/sun/star/graphic/XGraphic.idl> -#include <com/sun/star/gallery/XGalleryItem.idl> - module com { module sun { module star { module gallery { @@ -146,6 +136,4 @@ interface XGalleryTheme : com::sun::star::container::XIndexAccess }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/offapi/com/sun/star/gallery/XGalleryThemeProvider.idl b/offapi/com/sun/star/gallery/XGalleryThemeProvider.idl index 515663358522..c95fdb5d3ed7 100644 --- a/offapi/com/sun/star/gallery/XGalleryThemeProvider.idl +++ b/offapi/com/sun/star/gallery/XGalleryThemeProvider.idl @@ -17,14 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#ifndef __com_sun_star_gallery_XGalleryThemeProvider_idl__ -#define __com_sun_star_gallery_XGalleryThemeProvider_idl__ - -#include <com/sun/star/gallery/XGalleryTheme.idl> -#include <com/sun/star/container/XNameAccess.idl> -#include <com/sun/star/container/ElementExistException.idl> -#include <com/sun/star/container/NoSuchElementException.idl> - module com { module sun { module star { module gallery { @@ -71,6 +63,4 @@ interface XGalleryThemeProvider : com::sun::star::container::XNameAccess }; }; }; }; -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |