aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/flow/PageNumber.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/fo/flow/PageNumber.java')
-rw-r--r--src/org/apache/fop/fo/flow/PageNumber.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/apache/fop/fo/flow/PageNumber.java b/src/org/apache/fop/fo/flow/PageNumber.java
index ddfb60473..65925e54e 100644
--- a/src/org/apache/fop/fo/flow/PageNumber.java
+++ b/src/org/apache/fop/fo/flow/PageNumber.java
@@ -10,7 +10,6 @@ package org.apache.fop.fo.flow;
// FOP
import org.apache.fop.fo.*;
import org.apache.fop.layout.*;
-import org.apache.fop.messaging.MessageHandler;
import org.apache.fop.datatypes.*;
import org.apache.fop.fo.properties.*;
import org.apache.fop.layout.*;
@@ -47,7 +46,7 @@ public class PageNumber extends FObj {
public Status layout(Area area) throws FOPException {
if (!(area instanceof BlockArea)) {
- MessageHandler.errorln("WARNING: page-number outside block area");
+ log.error("WARNING: page-number outside block area");
return new Status(Status.OK);
}
if (this.marker == START) {