aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis Bernardo <lbernardo@apache.org>2013-02-21 23:56:09 +0000
committerLuis Bernardo <lbernardo@apache.org>2013-02-21 23:56:09 +0000
commit805d35e4e64fec6f2cdc81b1a9f39806817e5ad1 (patch)
treeabe1201a439dec0e9ecdea6fd8dad80b5450b032
parent9dadbc4897447e7f41d8dea17fc579f293b675b1 (diff)
downloadxmlgraphics-fop-805d35e4e64fec6f2cdc81b1a9f39806817e5ad1.tar.gz
xmlgraphics-fop-805d35e4e64fec6f2cdc81b1a9f39806817e5ad1.zip
FOP-2177: If a right aligned image exceeds a table cells bounds, it will overflow in the wrong direction; patch submitted by Robert Meyer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1448860 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java b/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
index ac3f8f878..a361d3415 100644
--- a/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java
@@ -349,7 +349,7 @@ public class LineLayoutManager extends InlineStackingLayoutManager
endIndent = difference > 0 ? difference : 0;
break;
case Constants.EN_END:
- startIndent = difference > 0 ? difference : 0;
+ startIndent = difference;
endIndent = 0;
break;
case Constants.EN_CENTER: