Kaydet (Commit) 67529304 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

LocalOfficeConnection description must end in ServiceManager

...instead of NamingService.  Even though current
<http://wiki.services.openoffice.org/w/index.php?title=Documentation/DevGuide/JavaBean/Customized_Configuration&oldid=127145>
documents using the latter, it leads to NullPointerException, as connect()
expects aInitialObject to be an XPropertySet.

Change-Id: Ia8445bed5307bf440d078a8b96200e3b7fa38706
üst 7bfded00
......@@ -531,7 +531,7 @@ public class LocalOfficeConnection
throws java.net.MalformedURLException
{
// Extruct parameters.
int idx = url.indexOf(";urp;StarOffice.NamingService");
int idx = url.indexOf(";urp;StarOffice.ServiceManager");
if (idx < 0)
throw new java.net.MalformedURLException(
"Invalid UNO connection URL.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment