aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/pagination/RegionBA.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/RegionBA.java')
-rw-r--r--src/java/org/apache/fop/fo/pagination/RegionBA.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/RegionBA.java b/src/java/org/apache/fop/fo/pagination/RegionBA.java
index ca9622af3..64ef93b92 100644
--- a/src/java/org/apache/fop/fo/pagination/RegionBA.java
+++ b/src/java/org/apache/fop/fo/pagination/RegionBA.java
@@ -25,6 +25,7 @@ import java.awt.Rectangle;
import org.apache.fop.fo.FONode;
import org.apache.fop.fo.FOTreeVisitor;
+
/**
* Abstract base class for fo:region-before and fo:region-after.
*/
@@ -49,7 +50,7 @@ public abstract class RegionBA extends RegionBASE {
/**
* @see org.apache.fop.fo.FONode#end()
*/
- public void end() {
+ protected void end() {
super.end();
bPrecedence =
(this.propertyList.get(PR_PRECEDENCE).getEnum() == Precedence.TRUE);