aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/pagination/RegionStart.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/RegionStart.java')
-rw-r--r--src/java/org/apache/fop/fo/pagination/RegionStart.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/RegionStart.java b/src/java/org/apache/fop/fo/pagination/RegionStart.java
index ad72e2737..2b97cb7fe 100644
--- a/src/java/org/apache/fop/fo/pagination/RegionStart.java
+++ b/src/java/org/apache/fop/fo/pagination/RegionStart.java
@@ -44,12 +44,12 @@ public class RegionStart extends RegionSE {
// This is the rectangle relative to the page-reference area in
// writing-mode relative coordinates
Rectangle vpRect;
- if (this.getWritingMode() == WritingMode.LR_TB || this.getWritingMode() == WritingMode.RL_TB) {
+ if (getWritingMode() == WritingMode.LR_TB || getWritingMode() == WritingMode.RL_TB) {
vpRect = new Rectangle(0, 0, getExtent().getValue(), reldims.bpd);
} else {
vpRect = new Rectangle(0, 0, reldims.bpd, getExtent().getValue());
}
- adjustIPD(vpRect, this.getWritingMode());
+ adjustIPD(vpRect, getWritingMode());
return vpRect;
}