aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/inline/InlineLayoutManager.java
diff options
context:
space:
mode:
authorPeter Hancock <phancock@apache.org>2012-08-16 13:31:38 +0000
committerPeter Hancock <phancock@apache.org>2012-08-16 13:31:38 +0000
commit80e1071780dacf1235c0f31bf20fe6c6df7ff8e8 (patch)
tree012a241ed426e2d10965ab402f04f84c9827b421 /src/java/org/apache/fop/layoutmgr/inline/InlineLayoutManager.java
parent3e96fb119fcbd9e6e0644092b0e2376bdbbe6c10 (diff)
parent726e1ef3093bedfd6671c2e6471e0d62ef605be5 (diff)
downloadxmlgraphics-fop-80e1071780dacf1235c0f31bf20fe6c6df7ff8e8.tar.gz
xmlgraphics-fop-80e1071780dacf1235c0f31bf20fe6c6df7ff8e8.zip
Merged trunk@1373227
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_RoundedCorners@1373825 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr/inline/InlineLayoutManager.java')
-rw-r--r--src/java/org/apache/fop/layoutmgr/inline/InlineLayoutManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/inline/InlineLayoutManager.java b/src/java/org/apache/fop/layoutmgr/inline/InlineLayoutManager.java
index e87b29b2d..77ac8c4d6 100644
--- a/src/java/org/apache/fop/layoutmgr/inline/InlineLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/inline/InlineLayoutManager.java
@@ -283,7 +283,7 @@ public class InlineLayoutManager extends InlineStackingLayoutManager {
, context.getAlignmentContext());
}
- childLC = new LayoutContext(context);
+ childLC = LayoutContext.copyOf(context);
childLC.setAlignmentContext(alignmentContext);
if (context.startsNewArea()) {
@@ -439,7 +439,7 @@ public class InlineLayoutManager extends InlineStackingLayoutManager {
addId();
- setChildContext(new LayoutContext(context)); // Store current value
+ setChildContext(LayoutContext.copyOf(context)); // Store current value
// "Unwrap" the NonLeafPositions stored in parentIter and put
// them in a new list. Set lastLM to be the LayoutManager