diff options
author | jan iversen <jani@documentfoundation.org> | 2016-01-23 18:38:24 +0100 |
---|---|---|
committer | jan iversen <jani@documentfoundation.org> | 2016-01-29 10:05:52 +0000 |
commit | 4b368564091a0023e1981bd8346716db2474b068 (patch) | |
tree | 662248575f1490c6c75bc891a9c9bf0db05929c8 /qadevOOo | |
parent | 3c28a0e3864edc2812a02dec2f80f09d6cf2bc73 (diff) |
null pointer used to dereference, add "if"
Change-Id: I37173f252a3b3da44976581ccefd0ed54aa8aa0d
Reviewed-on: https://gerrit.libreoffice.org/21735
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java b/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java index 322138d11215..faa0274e4d98 100644 --- a/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java +++ b/qadevOOo/tests/java/ifc/frame/_XSynchronousFrameLoader.java @@ -110,6 +110,8 @@ public class _XSynchronousFrameLoader extends MultiMethodTest { URL[] urlS = new URL[1]; urlS[0] = new URL(); urlS[0].Complete = url; + if (xURLTrans == null) + throw new IllegalStateException("xURLTrans unexpected null"); boolean res = xURLTrans.parseStrict(urlS); log.println("Parsing URL '" + url + "': " + res); descr = new PropertyValue[1] ; |