diff options
author | Kay Ramme <kr@openoffice.org> | 2000-09-28 16:10:02 +0000 |
---|---|---|
committer | Kay Ramme <kr@openoffice.org> | 2000-09-28 16:10:02 +0000 |
commit | d85a79f3a55aecdcf76526b9574304b068b88b8c (patch) | |
tree | 93ddebb29f9d7e9b870a44b6465101fec0a30412 /jut | |
parent | 136555b3a2f56e6b81c03a428c63ff4b39b1fb93 (diff) |
getImplementationName has to differ for different services; -smgr must parse the arguments
Diffstat (limited to 'jut')
-rw-r--r-- | jut/com/sun/star/tools/uno/UnoApp.java | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/jut/com/sun/star/tools/uno/UnoApp.java b/jut/com/sun/star/tools/uno/UnoApp.java index 88b1f2515..02e882bb1 100644 --- a/jut/com/sun/star/tools/uno/UnoApp.java +++ b/jut/com/sun/star/tools/uno/UnoApp.java @@ -2,9 +2,9 @@ * * $RCSfile: UnoApp.java,v $ * - * $Revision: 1.1.1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: kr $ $Date: 2000-09-27 09:30:27 $ + * last change: $Author: kr $ $Date: 2000-09-28 17:10:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -497,7 +497,7 @@ public class UnoApp { // Methods public String getImplementationName( ) throws com.sun.star.uno.RuntimeException { - return getClass().getName(); + return getClass().getName() + _serviceName; } public boolean supportsService( /*IN*/String ServiceName ) throws com.sun.star.uno.RuntimeException { @@ -514,14 +514,12 @@ public class UnoApp { } void set(UnoApp unoApp, String args[], int index[]) throws Exception { - System.err.println("##### " + getClass().getName() + "set:" + unoApp + " " + args[index[0]]); - String arg = args[index[0] ++]; if(arg.charAt(0) == '"') arg = arg.substring(0, arg.length() - 1).substring(1); - String comps[] = new String[]{arg}; + String comps[] = parseString(arg); XMultiServiceFactory xMultiServiceFactory = unoApp._xMultiServiceFactory; |