Hi Stephan, > > Here you query an XTextCursorfrom a TabStop struct? That should throw > > an exception or at least return null, don't know the UNO spec for the > > case where queryInterface is used on a non interface. > > Undefined behaviour (i.e.: never do that in your code). The current > implementation will most probably return null.
don't you think an exception would be better? It does not make sense to query an interface from anything else then an interface. Only qerying from null might make sense to be defined as returning null rather than an exception. Michael -- Michael Hoennig <[EMAIL PROTECTED]> project lead OpenOffice.org API http://api.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]