diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-05-07 16:49:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-05-07 17:03:00 +0200 |
commit | 6752930497d1c9d0d1ebb29113e89bdaf9e53aaa (patch) | |
tree | 9eeb12c33de8ab9af4de09fc4e5ab60248447479 | |
parent | fix condition for SetupCompleteSuccess (diff) | |
download | core-6752930497d1c9d0d1ebb29113e89bdaf9e53aaa.tar.gz core-6752930497d1c9d0d1ebb29113e89bdaf9e53aaa.zip |
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
-rw-r--r-- | bean/com/sun/star/comp/beans/LocalOfficeConnection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java index bb6abdd53195..4b5f4fcec881 100644 --- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java +++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java @@ -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."); |