aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/flow/DisplayGraphic.java
diff options
context:
space:
mode:
authorjtauber <jtauber@unknown>1999-11-27 10:11:39 +0000
committerjtauber <jtauber@unknown>1999-11-27 10:11:39 +0000
commit9085906015d72c09a569428c6f2043a171118b4d (patch)
tree886094a7567b4864d4dfe296eebad86394b98668 /src/org/apache/fop/fo/flow/DisplayGraphic.java
parent2ba1afad0b04bb9c385cd3460e1fb3c1caa2c31d (diff)
downloadxmlgraphics-fop-9085906015d72c09a569428c6f2043a171118b4d.tar.gz
xmlgraphics-fop-9085906015d72c09a569428c6f2043a171118b4d.zip
added support for background-color
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193248 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/fo/flow/DisplayGraphic.java')
-rw-r--r--src/org/apache/fop/fo/flow/DisplayGraphic.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/apache/fop/fo/flow/DisplayGraphic.java b/src/org/apache/fop/fo/flow/DisplayGraphic.java
index 921eb99b3..0cacbfff3 100644
--- a/src/org/apache/fop/fo/flow/DisplayGraphic.java
+++ b/src/org/apache/fop/fo/flow/DisplayGraphic.java
@@ -144,8 +144,8 @@ public class DisplayGraphic extends FObj {
if (this.isInTableCell) {
startIndent += forcedStartOffset;
- endIndent = area.getAllocationWidth() - startIndent -
- forcedWidth;
+ endIndent = area.getAllocationWidth() - forcedWidth -
+ forcedStartOffset;
}
this.marker = 0;