keiron 01/10/05 04:20:04 Modified: src/org/apache/fop/layout LineArea.java Log: changed overflow message since (1) it was confusing (2) we don't really handle the overflow property properly anyway Revision Changes Path 1.52 +4 -4 xml-fop/src/org/apache/fop/layout/LineArea.java Index: LineArea.java =================================================================== RCS file: /home/cvs/xml-fop/src/org/apache/fop/layout/LineArea.java,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- LineArea.java 2001/09/25 11:59:18 1.51 +++ LineArea.java 2001/10/05 11:20:04 1.52 @@ -1,5 +1,5 @@ /* - * $Id: LineArea.java,v 1.51 2001/09/25 11:59:18 keiron Exp $ + * $Id: LineArea.java,v 1.52 2001/10/05 11:20:04 keiron Exp $ * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. @@ -396,7 +396,7 @@ 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 @@ (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 @@ } if (overrun) - MessageHandler.error(">"); + MessageHandler.log("area contents overflows area"); return -1; }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]