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 | a4b0d7da414dc277cba59a31a4ea011c19b43b45 (patch) | |
tree | a074d3ed1d8ab05ae2baa7402f2f724a8bf7f2d7 /jut | |
parent | a6a106d20485d0aed832750e4a14897d1e74ff46 (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 4ba5e9149526..fd2676641ab7 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; |