diff options
author | Andreas L. Delmelle <adelmelle@apache.org> | 2007-01-11 21:03:07 +0000 |
---|---|---|
committer | Andreas L. Delmelle <adelmelle@apache.org> | 2007-01-11 21:03:07 +0000 |
commit | aa8a93a60863373363fa7f02c11320b91fa688d4 (patch) | |
tree | 4e1f5515d1f918c669993405b26555a4d6eceb13 /src/java/org/apache/fop/fo/properties/PageDimensionMaker.java | |
parent | b5c2cad08dc202898aae3be257a0c7ff6afcf0bb (diff) | |
download | xmlgraphics-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/fo/properties/PageDimensionMaker.java')
-rw-r--r-- | src/java/org/apache/fop/fo/properties/PageDimensionMaker.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/properties/PageDimensionMaker.java b/src/java/org/apache/fop/fo/properties/PageDimensionMaker.java index 8e0ad18ed..b41c3e87b 100644 --- a/src/java/org/apache/fop/fo/properties/PageDimensionMaker.java +++ b/src/java/org/apache/fop/fo/properties/PageDimensionMaker.java @@ -79,13 +79,13 @@ public class PageDimensionMaker extends LengthProperty.Maker { || refOrientation == -270))) { //set page-width to "auto" = use the fallback from FOUserAgent if (propId == Constants.PR_PAGE_WIDTH) { - fo.getLogger().warn("Both page-width and page-height set to " + Property.log.warn("Both page-width and page-height set to " + "\"indefinite\". Forcing page-width to \"auto\""); return make(propertyList, fallbackValue, fo); } } else { //set page-height to "auto" = use fallback from FOUserAgent - fo.getLogger().warn("Both page-width and page-height set to " + Property.log.warn("Both page-width and page-height set to " + "\"indefinite\". Forcing page-height to \"auto\""); if (propId == Constants.PR_PAGE_HEIGHT) { return make(propertyList, fallbackValue, fo); |