From 77031644f16b63c794c1eef0ec4456d37e34fe23 Mon Sep 17 00:00:00 2001 From: jan iversen Date: Fri, 22 Jan 2016 15:04:25 +0100 Subject: cid#1326434, 1326446, 1326248, 1326254 null pointer dereferencing, added null check Change-Id: I78f3ee1eb5d5bd4ebe7b3a6775db4884859dbcf6 Reviewed-on: https://gerrit.libreoffice.org/21712 Tested-by: Jenkins Reviewed-by: jan iversen --- qadevOOo/runner/util/utils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qadevOOo/runner') diff --git a/qadevOOo/runner/util/utils.java b/qadevOOo/runner/util/utils.java index c3f34589425b..8582f5f24010 100644 --- a/qadevOOo/runner/util/utils.java +++ b/qadevOOo/runner/util/utils.java @@ -587,7 +587,8 @@ public class utils { } catch (com.sun.star.uno.Exception e) { } - xTrans.parseStrict(rUrl); + if (xTrans != null) + xTrans.parseStrict(rUrl); return rUrl[0]; } -- cgit