diff options
-rw-r--r-- | qadevOOo/runner/util/utils.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/qadevOOo/runner/util/utils.java b/qadevOOo/runner/util/utils.java index 914b0664e6b4..c3f34589425b 100644 --- a/qadevOOo/runner/util/utils.java +++ b/qadevOOo/runner/util/utils.java @@ -203,15 +203,8 @@ public class utils { * */ public static String getOfficeUserPath(XMultiServiceFactory msf) { - String userPath = null; - // get a folder located in the user dir - try { - userPath = getOfficeSettingsValue(msf, "UserConfig"); - } catch (Exception e) { - System.out.println("Couldn't get Office User Path"); - e.printStackTrace(); - } + String userPath = getOfficeSettingsValue(msf, "UserConfig"); // strip the returned folder to the user dir if (userPath.charAt(userPath.length() - 1) == '/') { |