From 10bb3caf0c0330feefff948d13e1557951307e57 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Wed, 21 Sep 2016 19:30:08 +0300 Subject: [PATCH] small fix --- source/java/writer2latex/xhtml/TextConverter.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/java/writer2latex/xhtml/TextConverter.java b/source/java/writer2latex/xhtml/TextConverter.java index af60387..008c348 100644 --- a/source/java/writer2latex/xhtml/TextConverter.java +++ b/source/java/writer2latex/xhtml/TextConverter.java @@ -1613,6 +1613,7 @@ public class TextConverter extends ConverterHelper { //Print new header addHeader(hnode); breakBeforeNextNode = false; + return hnode; } @@ -1620,8 +1621,9 @@ public class TextConverter extends ConverterHelper { if (checkHardBreakAfter(style)) { breakBeforeNextNode = true; + return hnode; - } + } breakBeforeNextNode = false; return hnode; }