diff options
Diffstat (limited to 'qadevOOo/runner/util/utils.java')
-rw-r--r-- | qadevOOo/runner/util/utils.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/qadevOOo/runner/util/utils.java b/qadevOOo/runner/util/utils.java index c584db16eaa0..8e9f4fa7a2f4 100644 --- a/qadevOOo/runner/util/utils.java +++ b/qadevOOo/runner/util/utils.java @@ -313,7 +313,6 @@ public class utils { public static void setOfficeSettingsValue(XMultiServiceFactory msf, String setting, String value) { - String settingPath = null; try { Object settings = msf.createInstance("com.sun.star.comp.framework.PathSettings"); XPropertySet pthSettings = null; @@ -661,9 +660,7 @@ public class utils { continue; } try { - // now trying to establish a client-socket - // fails if there is no server on any connectable machine - Socket sock = new Socket("localhost", port); + new Socket("localhost", port); System.out.println(" -> socket: occupied port: " + port); } catch (IOException e) { System.out.println(" -> free port"); |