aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2006-02-09 10:34:17 +0000
committerJeremias Maerki <jeremias@apache.org>2006-02-09 10:34:17 +0000
commit6e19d34db271c41605032ab391ed500b59aeba85 (patch)
treece179d72a866642ab0db36e12de26f4c19f1ad8b /src/java/org
parentedfe1fbf5b9567c70c9648f4a7609dcf82c85e96 (diff)
downloadxmlgraphics-fop-6e19d34db271c41605032ab391ed500b59aeba85.tar.gz
xmlgraphics-fop-6e19d34db271c41605032ab391ed500b59aeba85.zip
Decorate warning with location info.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376250 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org')
-rw-r--r--src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java b/src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java
index cce2d671c..f6071da30 100644
--- a/src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/StaticContentLayoutManager.java
@@ -25,6 +25,7 @@ import java.util.ListIterator;
import org.apache.fop.area.RegionReference;
import org.apache.fop.area.Area;
import org.apache.fop.area.Block;
+import org.apache.fop.fo.FONode;
import org.apache.fop.fo.pagination.PageSequence;
import org.apache.fop.fo.pagination.SideRegion;
import org.apache.fop.fo.pagination.StaticContent;
@@ -233,7 +234,8 @@ public class StaticContentLayoutManager extends BlockStackingLayoutManager {
if (regionFO.getOverflow() == EN_ERROR_IF_OVERFLOW) {
//TODO throw layout exception
}
- log.warn("static-content overflows the available area.");
+ log.warn(FONode.decorateWithContextInfo(
+ "static-content overflows the available area.", fobj));
}
}
}