To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=102469 Issue #|102469 Summary|simplify UnoRuntime.queryInterface for Java using gene |rics Component|udk Version|OOO310m12 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|ENHANCEMENT Priority|P3 Subcomponent|code Assigned to|sb Reported by|b_michaelsen
------- Additional comments from [email protected] Wed Jun 3 11:33:34 +0000 2009 ------- Currently casting UNO-References in Java is cumbersome: XDesktop xDesktop = (XDesktop) UnoRuntime.queryInterface(XDesktop.class, xInterface); It would be nice to have this reduced to the following using generics: XDesktop xDesktop = UnoRuntime.queryInterface<XDesktop>(xInterface); --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- 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]
