diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-20 15:44:34 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-20 21:18:36 +0100 |
commit | c6351a89533f61bea8866966d2076eff324d102f (patch) | |
tree | 4345cc6d9eb0df4c4e1e65f2e0f392cb8e1551c9 /xmerge | |
parent | cf4595de4f6f3322f70b5c5b23875afd9079e8a8 (diff) |
coverity#1326242 Dereference after null check
Change-Id: I827e6967938114946193f34d7102ff9cd132a1a9
Diffstat (limited to 'xmerge')
-rw-r--r-- | xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/SxcDocumentSerializer.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/SxcDocumentSerializer.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/SxcDocumentSerializer.java index 8b7d0fe2d369..5f025575e193 100644 --- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/SxcDocumentSerializer.java +++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/SxcDocumentSerializer.java @@ -517,19 +517,7 @@ public abstract class SxcDocumentSerializer implements OfficeConstants, NamedNodeMap cellAtt = node.getAttributes(); - int debug_i=0; - Node debug_attrib = null; fmt.clearFormatting(); - if (cellAtt == null || cellAtt.item(0) == null) { - Debug.log(Debug.INFO, "No Cell Attributes\n"); - // return; - } else { - while ((debug_attrib = cellAtt.item(debug_i++)) != null) { - Debug.log(Debug.INFO, "Cell Attribute " + debug_i + - ": " + debug_attrib.getNodeName() + " : " + - debug_attrib.getNodeValue() + "\n"); - } - } // Get the type of data in the cell Node tableValueTypeNode = |