]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
changed overflow message since (1) it was confusing
authorKeiron Liddle <keiron@apache.org>
Fri, 5 Oct 2001 11:20:04 +0000 (11:20 +0000)
committerKeiron Liddle <keiron@apache.org>
Fri, 5 Oct 2001 11:20:04 +0000 (11:20 +0000)
(2) we don't really handle the overflow property properly anyway

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194493 13f79535-47bb-0310-9956-ffa450edef68

src/org/apache/fop/layout/LineArea.java

index 1a424470f99e2cccd92572f918a50cb55fe645ec..d0a13d1b0c555f3a95a92bd71b026c2a28044666 100644 (file)
@@ -396,7 +396,7 @@ public class LineArea extends Area {
                     if ((finalWidth + spaceWidth + wordWidth)
                             > this.getContentWidth()) {
                         if (overrun)
-                            MessageHandler.error(">");
+                            MessageHandler.log("area contents overflows area");
                         if (this.wrapOption == WrapOption.WRAP) {
                             return i;
                         }
@@ -447,7 +447,7 @@ public class LineArea extends Area {
                                 (wordStart == start) &&
                                 (finalWidth == 0)) {
 
-                                MessageHandler.error(">");
+                                MessageHandler.log("area contents overflows area");
                                 addSpacedWord(new String(data, wordStart, wordLength - 1),
                                               ls,
                                               finalWidth + spaceWidth
@@ -506,7 +506,7 @@ public class LineArea extends Area {
         }
 
         if (overrun)
-            MessageHandler.error(">");
+            MessageHandler.log("area contents overflows area");
         return -1;
     }