aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/area/inline
diff options
context:
space:
mode:
authorGlenn Adams <gadams@apache.org>2012-12-30 04:42:43 +0000
committerGlenn Adams <gadams@apache.org>2012-12-30 04:42:43 +0000
commitf38bb6f29887606f6b4e576a32b71e1dd686a36e (patch)
tree46c02e3bf5bffb8d11dc5c794599413b799963e0 /src/java/org/apache/fop/area/inline
parentd721e50c65d531141b0ab44ca59728b0ad48ec78 (diff)
downloadxmlgraphics-fop-f38bb6f29887606f6b4e576a32b71e1dd686a36e.tar.gz
xmlgraphics-fop-f38bb6f29887606f6b4e576a32b71e1dd686a36e.zip
FOP-2160: Fix NPE when rl writing mode is used in certain contexts.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1426888 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/area/inline')
-rw-r--r--src/java/org/apache/fop/area/inline/InlineArea.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/area/inline/InlineArea.java b/src/java/org/apache/fop/area/inline/InlineArea.java
index 37930f3ba..d92ea4f4f 100644
--- a/src/java/org/apache/fop/area/inline/InlineArea.java
+++ b/src/java/org/apache/fop/area/inline/InlineArea.java
@@ -137,6 +137,14 @@ public class InlineArea extends Area {
}
/**
+ * Sets the adjustment information from an existing object
+ * @param adjustingInfo the existing adjustment object
+ */
+ public void setAdjustingInfo(InlineAdjustingInfo adjustingInfo) {
+ this.adjustingInfo = adjustingInfo;
+ }
+
+ /**
* Modify the adjustment value in the adjustment information object
* @param adjustment the new adjustment value
*/