Message de Mikhail Voytenko date 2009-04-29 15:00 :
Hi Bernard, Alex,
com::sun::star::lang::XEventListener is not deprecated.
The problem looks to be that the document implements two
"addEventListener()" methods that differ only by the type of the
provided argument. You need the one that gets
com::sun::star::lang::XEventListener.
OOps !
I confused with c.s.s.document.XEventListener
Here is the solution in Basic : you have to indicate the correct
interface to use. The underline character replaces the dot or :: separator.
oDoc.com_sun_star_lang_XComponent_addEventListener( oEventListener )
Regards
Bernard
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]