aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/AbstractBaseLayoutManager.java
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2007-01-11 21:03:07 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2007-01-11 21:03:07 +0000
commitaa8a93a60863373363fa7f02c11320b91fa688d4 (patch)
tree4e1f5515d1f918c669993405b26555a4d6eceb13 /src/java/org/apache/fop/layoutmgr/AbstractBaseLayoutManager.java
parentb5c2cad08dc202898aae3be257a0c7ff6afcf0bb (diff)
downloadxmlgraphics-fop-aa8a93a60863373363fa7f02c11320b91fa688d4.tar.gz
xmlgraphics-fop-aa8a93a60863373363fa7f02c11320b91fa688d4.zip
Code cleanup:
- avoid unnecessary calls to getLogger(); LengthBase gets its own logger, LMs log to the AbstractLM logger - CommonBorderPaddingBackground no longer implements Cloneable (changes suggested by Richard Wheeldon) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@495371 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/AbstractBaseLayoutManager.java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/AbstractBaseLayoutManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/AbstractBaseLayoutManager.java b/src/java/org/apache/fop/layoutmgr/AbstractBaseLayoutManager.java
index da566ed91..8d63dc05f 100644
--- a/src/java/org/apache/fop/layoutmgr/AbstractBaseLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/AbstractBaseLayoutManager.java
@@ -71,7 +71,7 @@ public abstract class AbstractBaseLayoutManager
* @see org.apache.fop.datatypes.PercentBaseContext#getBaseLength(int, FObj)
*/
public int getBaseLength(int lengthBase, FObj fobj) {
- if (fobj == getFObj()) {
+ if (fobj == this.fobj) {
switch (lengthBase) {
case LengthBase.CONTAINING_BLOCK_WIDTH:
return getAncestorBlockAreaIPD();