From fbdf4e8fdab409b19065e051f2215d81bc25519f Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Tue, 17 Jun 2008 08:54:07 +0000 Subject: [PATCH] Wrong line number reported in the case of a line overflow. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95@668570 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java b/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java index 9a818232c..fb37884b5 100644 --- a/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java @@ -386,7 +386,7 @@ public class LineLayoutManager extends InlineStackingLayoutManager if (lack < 0) { String textDiff = (lack < -50000 ? "more than 50 points" : (-lack) + "mpt"); log.warn(FONode.decorateWithContextInfo( - "Line " + (addedPositions + 1) + "Line " + bestActiveNode.line + " of a paragraph overflows the available area by " + textDiff + ".", getFObj())); } -- 2.39.5