]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
FOP-2177: If a right aligned image exceeds a table cells bounds, it will overflow...
authorLuis Bernardo <lbernardo@apache.org>
Thu, 21 Feb 2013 23:56:09 +0000 (23:56 +0000)
committerLuis Bernardo <lbernardo@apache.org>
Thu, 21 Feb 2013 23:56:09 +0000 (23:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1448860 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/inline/LineLayoutManager.java

index ac3f8f878c4d9474864f914a6782825a671c802a..a361d3415c23cc31223a38eeb60bb65370e0a9c2 100644 (file)
@@ -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: