aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java b/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
index 188eebc8b..c11914962 100644
--- a/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/AbstractLayoutManager.java
@@ -163,10 +163,6 @@ public abstract class AbstractLayoutManager implements LayoutManager, Constants
}
- public void getWordChars(StringBuffer sbChars, Position bp1,
- Position bp2) {
- }
-
/* ---------------------------------------------------------
* PROVIDE NULL IMPLEMENTATIONS OF METHODS from LayoutManager
* interface which are declared abstract in AbstractLayoutManager.
@@ -184,10 +180,16 @@ public abstract class AbstractLayoutManager implements LayoutManager, Constants
return element;
}
- public void getWordChars(StringBuffer sbChars, Position pos) {
+ public void getWordChars(StringBuffer sbChars, Position bp1,
+ Position bp2) {
log.warn("null implementation of getWordChars() called!");
}
+ // This version is not in LayoutManager but is the only version being
+ // called within the application.
+ public void getWordChars(StringBuffer sbChars, Position pos) {
+ }
+
public void hyphenate(Position pos, HyphContext hc) {
log.warn("null implementation of hyphenate called!");
}