Arnulf Wiedemann wrote:
Hi,
I am trying to call createTypeDescriptionEnumeration from the XTypeDescriptionEnumerationAccess Interface with a OUString parameter "com.sun.star.reflection" for the 1st parameter as described in the example in the documentation, but I get always a NoSuchElementException exception. What am I doing wrong? For the TypeClass sequence I use a sequence containing typeclass INTERFACE and for the TypeDescriptionSearchDepth I have tried 1 and -1 (INFINITE). It is only working with the first parameter being empty, but then the returned XTypeDescriptionEnumeration is empty.

The same is happening if I use XHierarchicalNameAccess getByHierarchicalName.
Arnulf

I remember once having had trouble with that functionality, too, but unfortunately cannot remember any details. Did you try to pass an empty TypeClass sequence, instead of one containing INTERFACE?

-Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to