diff options
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/RegionEnd.java')
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/RegionEnd.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/RegionEnd.java b/src/java/org/apache/fop/fo/pagination/RegionEnd.java index 0940719bf..4e1e10b3d 100644 --- a/src/java/org/apache/fop/fo/pagination/RegionEnd.java +++ b/src/java/org/apache/fop/fo/pagination/RegionEnd.java @@ -42,7 +42,7 @@ public class RegionEnd extends RegionSE { public Rectangle getViewportRectangle (FODimension reldims) { // Depends on extent, precedence and writing mode Rectangle vpRect; - if (this.getWritingMode() == WritingMode.LR_TB || this.getWritingMode() == WritingMode.RL_TB) { + if (getWritingMode() == WritingMode.LR_TB || getWritingMode() == WritingMode.RL_TB) { // Rectangle: x , y (of top left point), width, height vpRect = new Rectangle(reldims.ipd - getExtent().getValue(), 0, getExtent().getValue(), reldims.bpd); @@ -51,7 +51,7 @@ public class RegionEnd extends RegionSE { vpRect = new Rectangle(reldims.ipd - getExtent().getValue(), 0, reldims.bpd, getExtent().getValue()); } - adjustIPD(vpRect, this.getWritingMode()); + adjustIPD(vpRect, getWritingMode()); return vpRect; } |