summaryrefslogtreecommitdiff
path: root/qadevOOo/runner
diff options
context:
space:
mode:
authorjan iversen <jani@documentfoundation.org>2016-01-25 11:28:50 +0100
committerjan iversen <jani@documentfoundation.org>2016-01-29 10:04:39 +0000
commit3c28a0e3864edc2812a02dec2f80f09d6cf2bc73 (patch)
tree0dde3fa722db1484ef290147cf3a429211db3b9f /qadevOOo/runner
parentb9daeb01a26d21f1801d2b4c861eb3d59c886949 (diff)
cid#1326280, 1326295, 1326303
null pointer dereference, made test Change-Id: I2bd820a2eb04499ab3b518d5b5e5ccccf3ffe531 Reviewed-on: https://gerrit.libreoffice.org/21771 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r--qadevOOo/runner/graphical/FileHelper.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/qadevOOo/runner/graphical/FileHelper.java b/qadevOOo/runner/graphical/FileHelper.java
index 88d404204a0a..05acb5e35e05 100644
--- a/qadevOOo/runner/graphical/FileHelper.java
+++ b/qadevOOo/runner/graphical/FileHelper.java
@@ -44,6 +44,8 @@ public class FileHelper
String fs = System.getProperty("file.separator");
if (! fs.equals("/"))
{
+ if (sSystemFile == null)
+ throw new IllegalStateException("sSystemFile is unexpected null");
sSystemFile = sSystemFile.replace ('/', fs.toCharArray ()[0]);
}
// FEATURE FOR UNC NEED!!!