diff options
author | Finn Bock <bckfnn@apache.org> | 2004-10-20 21:07:02 +0000 |
---|---|---|
committer | Finn Bock <bckfnn@apache.org> | 2004-10-20 21:07:02 +0000 |
commit | 4e065f724d4415ebbb90890c3522d3e17472bcbf (patch) | |
tree | 102999d5395cdb11b296e24dacaaf35c407b78cb /src/java/org/apache/fop/fo/pagination/RegionBefore.java | |
parent | ae93e15a85f851d607e5d7e7f7d5011bac8b3d0a (diff) | |
download | xmlgraphics-fop-4e065f724d4415ebbb90890c3522d3e17472bcbf.tar.gz xmlgraphics-fop-4e065f724d4415ebbb90890c3522d3e17472bcbf.zip |
Fourth phase of performance improvement.
- Misc cleanup.
PR: 31699
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198096 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/RegionBefore.java')
-rw-r--r-- | src/java/org/apache/fop/fo/pagination/RegionBefore.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/RegionBefore.java b/src/java/org/apache/fop/fo/pagination/RegionBefore.java index c00a40ce0..72de90461 100644 --- a/src/java/org/apache/fop/fo/pagination/RegionBefore.java +++ b/src/java/org/apache/fop/fo/pagination/RegionBefore.java @@ -54,13 +54,13 @@ public class RegionBefore extends RegionBA { // Before is always 0, start depends on extent // ipd depends on precedence, bpd=extent 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, reldims.ipd, getExtent().getValue()); } else { vpRect = new Rectangle(0, 0, getExtent().getValue(), reldims.ipd); } if (getPrecedence() == FALSE) { - adjustIPD(vpRect, this.getWritingMode()); + adjustIPD(vpRect, getWritingMode()); } return vpRect; } |