summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/helper/OfficeProvider.java
diff options
context:
space:
mode:
authorSvante Schubert <sus@openoffice.org>2003-05-15 17:27:55 +0000
committerSvante Schubert <sus@openoffice.org>2003-05-15 17:27:55 +0000
commit3db675a9cc01f222fdea8ab033348d8ac9f0b21f (patch)
treef46f94653c2c938521eb9b277b6ea79f7ba92dde /qadevOOo/runner/helper/OfficeProvider.java
parentf174b9686496eb774bef45e8cbe58ae016b04365 (diff)
Removed two possible null pointer exceptions and expanded catch clause with a printStackTrace()
Diffstat (limited to 'qadevOOo/runner/helper/OfficeProvider.java')
-rw-r--r--qadevOOo/runner/helper/OfficeProvider.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/qadevOOo/runner/helper/OfficeProvider.java b/qadevOOo/runner/helper/OfficeProvider.java
index ee19fffae9be..07807ed2262e 100644
--- a/qadevOOo/runner/helper/OfficeProvider.java
+++ b/qadevOOo/runner/helper/OfficeProvider.java
@@ -2,9 +2,9 @@
*
* $RCSfile: OfficeProvider.java,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change:$Date: 2003-02-12 14:23:24 $
+ * last change:$Date: 2003-05-15 18:27:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -125,7 +125,7 @@ public class OfficeProvider implements AppProvider {
if (msf != null) {
return msf;
}
- if (debug) System.out.println("Exception while connecting "+exc);
+ if (debug) System.out.println("Not connected to existing office");
boolean isExecutable = false;
boolean isAppKnown = cncstr.indexOf("host=localhost")>0;
isAppKnown &= !((String) param.get("AppExecutionCommand")).equals("");
@@ -158,8 +158,7 @@ public class OfficeProvider implements AppProvider {
}
k++;
}
- if (debug && msf==null) System.out.println(
- "Exception while connecting "+exc);
+ if (debug && msf==null) System.out.println("Exception while connecting "+exc);
return msf;
}