Hey,

On Fri, Sep 16, 2016 at 10:55 PM, <apta...@gmx.de> wrote:

> The current source code in XComponent.idl looks like:
>
> #ifndef __com_sun_star_lang_XComponent_idl__
> 20 #define __com_sun_star_lang_XComponent_idl__
> 21
> 22 #include <com/sun/star/uno/XInterface.idl>
> 23
> 24
> 25 module com { module sun { module star { module lang {
> 26
> 27 * published interface XEventListener;*
> 28
> 42 published interface XComponent: com::sun::star::uno::XInterface
> 43 {
> 73  void dispose();
> 74
> 92  void addEventListener( [in] XEventListener xListener );
> 93
> 108  void removeEventListener( [in] XEventListener aListener );
> 109
> 110 };
> 111
> 112
> 113 }; }; }; };
> 114
> 115 #endif
>
> can anyone check - and if positively found incorrect change the source -
> the following alternative:
>
> ....
>  #include <com/sun/star/uno/XInterface.idl>
> * #include <com/sun/star/lang/XEventListener.idl>*
>   24
> 25 module com { module sun { module star { module lang {
> 26
> 42 published interface XComponent: com::sun::star::uno::XInterface
> ....
>
> thx
>
> andy
>
>

The old code looks fine. This is a forward declaration in the idl file. You
can see the generated c++ code for it in e.g.
workdir/UnoApiHeadersTarget/udkapi/normal/com/sun/star/lang/XComponent.hdl

Markus
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to