To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=86190
User sb changed the following: What |Old value |New value ================================================================================ CC|'tl' |'sb,tl' -------------------------------------------------------------------------------- ------- Additional comments from [EMAIL PROTECTED] Wed Mar 19 09:45:57 +0000 2008 ------- The Java UNO code in #desc19 is broken (direct Java casts are not OK, you need to use UnoRuntime.queryInterface instead; see the DevGuide for details). Correct code would be something like the following (caveat: typed in without actually testing it): ---8<--- public static void main(String[] args) throws com.sun.star.uno.Exception { com.sun.star.uno.XComponentContext xContext = Bootstrap.bootstrap(); com.sun.star.lang.XMultiComponentFactory sm = xContext.getServiceManager(); com.sun.star.linguistic2.XLinguServiceManager lsm = (com.sun.star.linguistic2.XLinguServiceManager) com.sun.star.uno.UnoRuntime.queryInterface( com.sun.star.linguistic2.XLinguServiceManager.class, sm.createInstanceWithContext( "com.sun.star.linguistic2.LinguServiceManager", xContext)); XHyphenatedWord hw = lsm.getHyphenator().hyphenate( "Silbentrennung", new Locale("de", "DE", ""), (short) 0, new PropertyValue[0]); System.out.println(hw.getHyphenatedWord()); } ---8<--- --------------------------------------------------------------------- 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]