From 53f704d133b82a425f1a70bcd5f54983ff1850c3 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Tue, 14 Jan 2020 19:56:55 +0100 Subject: [PATCH] Removed useless check --- src/main/java/writer2latex/xhtml/PageSplitter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/writer2latex/xhtml/PageSplitter.java b/src/main/java/writer2latex/xhtml/PageSplitter.java index 854be2b..37fdd6c 100644 --- a/src/main/java/writer2latex/xhtml/PageSplitter.java +++ b/src/main/java/writer2latex/xhtml/PageSplitter.java @@ -28,7 +28,7 @@ public class PageSplitter { //System.out.println("splitSoftPageBreak "); //Necessary check if node is an Element - if ((child.getNodeType() == Node.ELEMENT_NODE) && containsSPB(child)){ + if (containsSPB(child)){ String nodeName = child.getNodeName(); //Create Duplicate Node! Element childFirstPart = (Element) child.cloneNode(false);