From: Andreas L. Delmelle Date: Tue, 18 Nov 2008 17:58:54 +0000 (+0000) Subject: Bugfix: do not reset TextLM.hasChanged, but combine (||) with previous value. X-Git-Tag: fop-1_0~384 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b9b72cfc2aae63c0c6c59edf87250010e6e79c9c;p=xmlgraphics-fop.git Bugfix: do not reset TextLM.hasChanged, but combine (||) with previous value. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@718666 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java b/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java index 459bce0e8..27ed38b53 100644 --- a/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java @@ -910,7 +910,7 @@ public class TextLayoutManager extends LeafNodeLayoutManager { } startIndex = stopIndex; } - this.hasChanged = !nothingChanged; + this.hasChanged = (this.hasChanged || !nothingChanged); } /** {@inheritDoc} */