Thanks all for help,

I will try to get it running :-)

Greetings
Alex


----- Original Message ----- From: "Bernard Marcelly" <[email protected]>
To: <[email protected]>
Sent: Wednesday, April 29, 2009 4:54 PM
Subject: Re: [api-dev] Problem with my Eventhandler under OOWriter 3.x (Exception)


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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to