Rony G. Flatscher wrote:
Hi there,

maybe a very stupid question, still wondering whether constants wrapped as "Any" were intended. Using reflection via Java the following constants employ Any (for unsigned long):

What kind of reflection do you mean---Java reflection or UNO reflection? Please give some example code snippet.

    * <com.sun.star.sync.SyncOptions>
    * <com.sun.star.sync.SyncAction>
    * <com.sun.star.sync.SyncType>
    * <com.sun.star.sync.SyncMode>
    * <com.sun.star.sync.SyncEvent>
    * <com.sun.star.corba.iop.ServiceIdGroup>
    * <com.sun.star.corba.iop.ProfileIdGroup>

These constant groups have members of UNO type UNSIGNED LONG. They are represented in Java as final fields of Java type int (and you have to know that the values have to be interpreted as unsigned when you use them), no Any involved.

-Stephan

Regards,

---rony

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

Reply via email to