From 3c28a0e3864edc2812a02dec2f80f09d6cf2bc73 Mon Sep 17 00:00:00 2001 From: jan iversen Date: Mon, 25 Jan 2016 11:28:50 +0100 Subject: cid#1326280, 1326295, 1326303 null pointer dereference, made test Change-Id: I2bd820a2eb04499ab3b518d5b5e5ccccf3ffe531 Reviewed-on: https://gerrit.libreoffice.org/21771 Tested-by: Jenkins Reviewed-by: jan iversen --- .../xmerge/converter/xml/xslt/DocumentDeserializerImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmerge') diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentDeserializerImpl.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentDeserializerImpl.java index ed7012d76cf2..a7b54636cc86 100644 --- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentDeserializerImpl.java +++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/xslt/DocumentDeserializerImpl.java @@ -88,8 +88,8 @@ public final class DocumentDeserializerImpl while (enumerate.hasNext()) { docOut = (DOMDocument) enumerate.next(); } - domDoc = docOut.getContentDOM(); try { + domDoc = docOut.getContentDOM(); baos = transform(domDoc); sxwDoc.initContentDOM(); DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance(); @@ -184,4 +184,4 @@ public final class DocumentDeserializerImpl Debug.log(Debug.TRACE, str); } -} \ No newline at end of file +} -- cgit