summaryrefslogtreecommitdiff
path: root/jut/com/sun/star
diff options
context:
space:
mode:
authorKay Ramme <kr@openoffice.org>2000-10-27 07:04:39 +0000
committerKay Ramme <kr@openoffice.org>2000-10-27 07:04:39 +0000
commit5a307359274b69e1f0f01926a5632c5930c22020 (patch)
treeadc34e6c9cbbe2529dc5ce486725badd1492eeab /jut/com/sun/star
parent3d75f33358658dad09c27527365d2e443cf81fd6 (diff)
debug disabled; cleaned
Diffstat (limited to 'jut/com/sun/star')
-rw-r--r--jut/com/sun/star/tools/uno/UnoApp.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/jut/com/sun/star/tools/uno/UnoApp.java b/jut/com/sun/star/tools/uno/UnoApp.java
index 0e62f2ea8..58dc48f6d 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.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: kr $ $Date: 2000-10-19 15:31:11 $
+ * last change: $Author: kr $ $Date: 2000-10-27 08:04:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -100,7 +100,7 @@ import com.sun.star.uno.Type;
* <p>
*/
public class UnoApp {
- static public final boolean DEBUG = true;
+ static public final boolean DEBUG = false;
/**
* Bootstraps a servicemanager with some base components registered.
@@ -241,7 +241,7 @@ public class UnoApp {
// get an acceptor
XAcceptor xAcceptor = (XAcceptor)UnoRuntime.queryInterface(XAcceptor.class,
_xMultiServiceFactory.createInstance("com.sun.star.connection.Acceptor"));
-
+
// get a bridgefactory
XBridgeFactory xBridgeFactory = (XBridgeFactory)UnoRuntime.queryInterface(XBridgeFactory.class,
_xMultiServiceFactory.createInstance("com.sun.star.bridge.BridgeFactory"));
@@ -422,7 +422,7 @@ public class UnoApp {
unoApp._context = RegistryServiceFactory.create(args[index[0] ++]);
unoApp._creator = this;
- System.err.println("got RegistryServiceFactory:" + unoApp._context);
+ if(DEBUG) System.err.println("##### " + getClass().getName() + " - got RegistryServiceFactory:" + unoApp._context);
}
Object create(UnoApp unoApp) throws Exception {
@@ -672,7 +672,7 @@ public class UnoApp {
if(unoApp._uno_url != null) // see, if we have to export the object
export(unoApp._xMultiServiceFactory, unoApp._uno_url, object);
else
- System.err.println("result: " + object);
+ System.out.println("result: " + object);
}